aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/dma_pusher.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-02-16 10:08:07 -0400
committerFernando Sahmkow <fsahmkow27@gmail.com>2020-04-22 11:36:07 -0400
commit8b1eb44b3ed5483071dc6754662a277b45e4a809 (patch)
treeed985a775881cce60a98ab7ddc43803ccf7d463c /src/video_core/dma_pusher.cpp
parentda8f17715dbdc7eec92f5f0c11c968a51b86cab4 (diff)
BufferCache: Implement OnCPUWrite and SyncGuestHost
Diffstat (limited to 'src/video_core/dma_pusher.cpp')
-rw-r--r--src/video_core/dma_pusher.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/dma_pusher.cpp b/src/video_core/dma_pusher.cpp
index 2516ea9935..31627b8121 100644
--- a/src/video_core/dma_pusher.cpp
+++ b/src/video_core/dma_pusher.cpp
@@ -21,6 +21,7 @@ MICROPROFILE_DEFINE(DispatchCalls, "GPU", "Execute command buffer", MP_RGB(128,
void DmaPusher::DispatchCalls() {
MICROPROFILE_SCOPE(DispatchCalls);
+ gpu.SyncGuestHost();
// On entering GPU code, assume all memory may be touched by the ARM core.
gpu.Maxwell3D().OnMemoryWrite();