summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2021-07-14 18:39:31 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2021-07-14 18:39:31 +0200
commit1a95a7cdd9d8ffb6fd83396a5b3d4d93c2cb79fb (patch)
tree6f4c956c285cfe632db751313a6bb0a3fd417f1d /src/video_core
parentBuffer Cache: Fixes to DMA Copy. (diff)
downloadyuzu-1a95a7cdd9d8ffb6fd83396a5b3d4d93c2cb79fb.tar
yuzu-1a95a7cdd9d8ffb6fd83396a5b3d4d93c2cb79fb.tar.gz
yuzu-1a95a7cdd9d8ffb6fd83396a5b3d4d93c2cb79fb.tar.bz2
yuzu-1a95a7cdd9d8ffb6fd83396a5b3d4d93c2cb79fb.tar.lz
yuzu-1a95a7cdd9d8ffb6fd83396a5b3d4d93c2cb79fb.tar.xz
yuzu-1a95a7cdd9d8ffb6fd83396a5b3d4d93c2cb79fb.tar.zst
yuzu-1a95a7cdd9d8ffb6fd83396a5b3d4d93c2cb79fb.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/memory_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/memory_manager.cpp b/src/video_core/memory_manager.cpp
index d2b9d5f2b..2bc97ec30 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->InvalidateRegion(dest_addr, copy_amount);
+ rasterizer->UnmapMemory(dest_addr, copy_amount);
system.Memory().WriteBlockUnsafe(dest_addr, src_buffer, copy_amount);
}