summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvdrv
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-08-03 19:56:33 +0200
committerLioncash <mathew1800@gmail.com>2018-08-04 08:36:58 +0200
commit2665457f4ab3562525543f8e474bfb93ce3416ad (patch)
tree16166950cebde8f7ac99d51a3bcdcfa2869cf627 /src/core/hle/service/nvdrv
parentvideo_core: Eliminate the g_renderer global variable (diff)
downloadyuzu-2665457f4ab3562525543f8e474bfb93ce3416ad.tar
yuzu-2665457f4ab3562525543f8e474bfb93ce3416ad.tar.gz
yuzu-2665457f4ab3562525543f8e474bfb93ce3416ad.tar.bz2
yuzu-2665457f4ab3562525543f8e474bfb93ce3416ad.tar.lz
yuzu-2665457f4ab3562525543f8e474bfb93ce3416ad.tar.xz
yuzu-2665457f4ab3562525543f8e474bfb93ce3416ad.tar.zst
yuzu-2665457f4ab3562525543f8e474bfb93ce3416ad.zip
Diffstat (limited to 'src/core/hle/service/nvdrv')
-rw-r--r--src/core/hle/service/nvdrv/devices/nvhost_as_gpu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvhost_as_gpu.cpp b/src/core/hle/service/nvdrv/devices/nvhost_as_gpu.cpp
index 06151a1ea..4b601781f 100644
--- a/src/core/hle/service/nvdrv/devices/nvhost_as_gpu.cpp
+++ b/src/core/hle/service/nvdrv/devices/nvhost_as_gpu.cpp
@@ -156,8 +156,8 @@ u32 nvhost_as_gpu::UnmapBuffer(const std::vector<u8>& input, std::vector<u8>& ou
auto& system_instance = Core::System::GetInstance();
// Remove this memory region from the rasterizer cache.
- system_instance.Renderer().Rasterizer()->FlushAndInvalidateRegion(params.offset,
- itr->second.size);
+ system_instance.Renderer().Rasterizer().FlushAndInvalidateRegion(params.offset,
+ itr->second.size);
auto& gpu = system_instance.GPU();
params.offset = gpu.memory_manager->UnmapBuffer(params.offset, itr->second.size);