diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-07-14 19:04:45 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-07-15 02:02:08 +0200 |
commit | 1ae4b684fff380035b468086586159a231237ed7 (patch) | |
tree | 0f2d3bba4c07670b4d4b5cc56a506635f8cb08a7 /src/video_core/memory_manager.cpp | |
parent | GPUMemoryManager: Force inmediate invalidation when writting block. (diff) | |
download | yuzu-1ae4b684fff380035b468086586159a231237ed7.tar yuzu-1ae4b684fff380035b468086586159a231237ed7.tar.gz yuzu-1ae4b684fff380035b468086586159a231237ed7.tar.bz2 yuzu-1ae4b684fff380035b468086586159a231237ed7.tar.lz yuzu-1ae4b684fff380035b468086586159a231237ed7.tar.xz yuzu-1ae4b684fff380035b468086586159a231237ed7.tar.zst yuzu-1ae4b684fff380035b468086586159a231237ed7.zip |
Diffstat (limited to 'src/video_core/memory_manager.cpp')
-rw-r--r-- | src/video_core/memory_manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/memory_manager.cpp b/src/video_core/memory_manager.cpp index 2bc97ec30..d2b9d5f2b 100644 --- a/src/video_core/memory_manager.cpp +++ b/src/video_core/memory_manager.cpp @@ -327,7 +327,7 @@ void MemoryManager::WriteBlock(GPUVAddr gpu_dest_addr, const void* src_buffer, s // Invalidate must happen on the rasterizer interface, such that memory is always // synchronous when it is written (even when in asynchronous GPU mode). - rasterizer->UnmapMemory(dest_addr, copy_amount); + rasterizer->InvalidateRegion(dest_addr, copy_amount); system.Memory().WriteBlockUnsafe(dest_addr, src_buffer, copy_amount); } |