video_core/memory_manager: Make Read() a const qualified member function

Given this doesn't actually alter internal state, this can be made a
const member function.
This commit is contained in:
Lioncash
2019-04-05 20:30:46 -04:00
parent 76ef6e5c2b
commit c13fbe6a41
2 changed files with 6 additions and 6 deletions

View File

@ -53,7 +53,7 @@ public:
std::optional<VAddr> GpuToCpuAddress(GPUVAddr addr) const;
template <typename T>
T Read(GPUVAddr addr);
T Read(GPUVAddr addr) const;
template <typename T>
void Write(GPUVAddr addr, T data);