summaryrefslogtreecommitdiffstats
path: root/src/video_core/memory_manager.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-04-06 02:18:27 +0200
committerLioncash <mathew1800@gmail.com>2019-04-06 02:18:29 +0200
commit9dec087fca5944b6e4ee5f0f76c0716a93a9fe4d (patch)
tree13001b2f2e22d963ab0043daf17d6220cc59ad75 /src/video_core/memory_manager.h
parentMerge pull request #2282 from bunnei/gpu-asynch-v2 (diff)
downloadyuzu-9dec087fca5944b6e4ee5f0f76c0716a93a9fe4d.tar
yuzu-9dec087fca5944b6e4ee5f0f76c0716a93a9fe4d.tar.gz
yuzu-9dec087fca5944b6e4ee5f0f76c0716a93a9fe4d.tar.bz2
yuzu-9dec087fca5944b6e4ee5f0f76c0716a93a9fe4d.tar.lz
yuzu-9dec087fca5944b6e4ee5f0f76c0716a93a9fe4d.tar.xz
yuzu-9dec087fca5944b6e4ee5f0f76c0716a93a9fe4d.tar.zst
yuzu-9dec087fca5944b6e4ee5f0f76c0716a93a9fe4d.zip
Diffstat (limited to 'src/video_core/memory_manager.h')
-rw-r--r--src/video_core/memory_manager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/memory_manager.h b/src/video_core/memory_manager.h
index 34744bb27..c3b4d7ae7 100644
--- a/src/video_core/memory_manager.h
+++ b/src/video_core/memory_manager.h
@@ -50,7 +50,7 @@ public:
GPUVAddr MapBufferEx(VAddr cpu_addr, u64 size);
GPUVAddr MapBufferEx(VAddr cpu_addr, GPUVAddr addr, u64 size);
GPUVAddr UnmapBuffer(GPUVAddr addr, u64 size);
- std::optional<VAddr> GpuToCpuAddress(GPUVAddr addr);
+ std::optional<VAddr> GpuToCpuAddress(GPUVAddr addr) const;
template <typename T>
T Read(GPUVAddr addr);