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 e36500c07f
commit 69846b1557
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);