mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-16 12:57:55 -05:00
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:
@ -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);
|
||||
|
Reference in New Issue
Block a user