diff options
author | Lioncash <mathew1800@gmail.com> | 2019-04-06 02:27:57 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-04-06 02:28:44 +0200 |
commit | 76ef6e5c2be2d3d31fdc7bf16c499c1f257b9e97 (patch) | |
tree | 6728e1d39d4657f4a5fd97cea28e688383e01d22 /src/video_core/memory_manager.h | |
parent | video_core/memory_manager: Add a const qualified variant of GetPointer() (diff) | |
download | yuzu-76ef6e5c2be2d3d31fdc7bf16c499c1f257b9e97.tar yuzu-76ef6e5c2be2d3d31fdc7bf16c499c1f257b9e97.tar.gz yuzu-76ef6e5c2be2d3d31fdc7bf16c499c1f257b9e97.tar.bz2 yuzu-76ef6e5c2be2d3d31fdc7bf16c499c1f257b9e97.tar.lz yuzu-76ef6e5c2be2d3d31fdc7bf16c499c1f257b9e97.tar.xz yuzu-76ef6e5c2be2d3d31fdc7bf16c499c1f257b9e97.tar.zst yuzu-76ef6e5c2be2d3d31fdc7bf16c499c1f257b9e97.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/memory_manager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/memory_manager.h b/src/video_core/memory_manager.h index 4309bfce7..273d538b8 100644 --- a/src/video_core/memory_manager.h +++ b/src/video_core/memory_manager.h @@ -61,7 +61,7 @@ public: u8* GetPointer(GPUVAddr addr); const u8* GetPointer(GPUVAddr addr) const; - void ReadBlock(GPUVAddr src_addr, void* dest_buffer, std::size_t size); + void ReadBlock(GPUVAddr src_addr, void* dest_buffer, std::size_t size) const; void WriteBlock(GPUVAddr dest_addr, const void* src_buffer, std::size_t size); void CopyBlock(GPUVAddr dest_addr, GPUVAddr src_addr, std::size_t size); |