diff options
author | bunnei <bunneidev@gmail.com> | 2019-01-24 04:17:55 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2019-03-07 03:48:57 +0100 |
commit | 7b574f406b25c02a0e0efd8b7ec13d68ecb55497 (patch) | |
tree | 375d4637d49ffe506129ce9cb679b5902328106a /src/core/hle/service/nvdrv/devices/nvhost_as_gpu.cpp | |
parent | bootmanager: Ensure that we have a context for shader loading. (diff) | |
download | yuzu-7b574f406b25c02a0e0efd8b7ec13d68ecb55497.tar yuzu-7b574f406b25c02a0e0efd8b7ec13d68ecb55497.tar.gz yuzu-7b574f406b25c02a0e0efd8b7ec13d68ecb55497.tar.bz2 yuzu-7b574f406b25c02a0e0efd8b7ec13d68ecb55497.tar.lz yuzu-7b574f406b25c02a0e0efd8b7ec13d68ecb55497.tar.xz yuzu-7b574f406b25c02a0e0efd8b7ec13d68ecb55497.tar.zst yuzu-7b574f406b25c02a0e0efd8b7ec13d68ecb55497.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/nvdrv/devices/nvhost_as_gpu.cpp | 2 |
1 files changed, 1 insertions, 1 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 466db7ccd..a34b9e753 100644 --- a/src/core/hle/service/nvdrv/devices/nvhost_as_gpu.cpp +++ b/src/core/hle/service/nvdrv/devices/nvhost_as_gpu.cpp @@ -178,7 +178,7 @@ u32 nvhost_as_gpu::UnmapBuffer(const std::vector<u8>& input, std::vector<u8>& ou auto& gpu = system_instance.GPU(); auto cpu_addr = gpu.MemoryManager().GpuToCpuAddress(params.offset); ASSERT(cpu_addr); - system_instance.Renderer().Rasterizer().FlushAndInvalidateRegion(*cpu_addr, itr->second.size); + gpu.FlushAndInvalidateRegion(*cpu_addr, itr->second.size); params.offset = gpu.MemoryManager().UnmapBuffer(params.offset, itr->second.size); |