mirror of
https://git.eden-emu.dev/archive/citron
synced 2026-04-11 13:48:48 -04: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