diff options
| -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 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 | |||
| 327 | 327 | ||
| 328 | // Invalidate must happen on the rasterizer interface, such that memory is always | 328 | // Invalidate must happen on the rasterizer interface, such that memory is always |
| 329 | // synchronous when it is written (even when in asynchronous GPU mode). | 329 | // synchronous when it is written (even when in asynchronous GPU mode). |
| 330 | rasterizer->InvalidateRegion(dest_addr, copy_amount); | 330 | rasterizer->UnmapMemory(dest_addr, copy_amount); |
| 331 | system.Memory().WriteBlockUnsafe(dest_addr, src_buffer, copy_amount); | 331 | system.Memory().WriteBlockUnsafe(dest_addr, src_buffer, copy_amount); |
| 332 | } | 332 | } |
| 333 | 333 | ||