summaryrefslogtreecommitdiffstats
path: root/src/video_core/dma_pusher.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-02-16 15:08:07 +0100
committerFernando Sahmkow <fsahmkow27@gmail.com>2020-04-22 17:36:07 +0200
commit8b1eb44b3ed5483071dc6754662a277b45e4a809 (patch)
treeed985a775881cce60a98ab7ddc43803ccf7d463c /src/video_core/dma_pusher.cpp
parentGPU: Refactor synchronization on Async GPU (diff)
downloadyuzu-8b1eb44b3ed5483071dc6754662a277b45e4a809.tar
yuzu-8b1eb44b3ed5483071dc6754662a277b45e4a809.tar.gz
yuzu-8b1eb44b3ed5483071dc6754662a277b45e4a809.tar.bz2
yuzu-8b1eb44b3ed5483071dc6754662a277b45e4a809.tar.lz
yuzu-8b1eb44b3ed5483071dc6754662a277b45e4a809.tar.xz
yuzu-8b1eb44b3ed5483071dc6754662a277b45e4a809.tar.zst
yuzu-8b1eb44b3ed5483071dc6754662a277b45e4a809.zip
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 2516ea993..31627b812 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();