aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpu_neon/gpu.c
diff options
context:
space:
mode:
authornotaz2011-12-29 17:00:29 +0200
committernotaz2011-12-29 17:00:29 +0200
commitc64af26fdb49171b8529836628c23fc7494c11ac (patch)
tree28035e5dad046352c609414ee2684f60c3839929 /plugins/gpu_neon/gpu.c
parentcec398c037bc9c9ec9010dcbed04f2c3ae7d2c61 (diff)
downloadpcsx_rearmed-c64af26fdb49171b8529836628c23fc7494c11ac.tar.gz
pcsx_rearmed-c64af26fdb49171b8529836628c23fc7494c11ac.tar.bz2
pcsx_rearmed-c64af26fdb49171b8529836628c23fc7494c11ac.zip
gpu_neon: flush queues on upper level too
Diffstat (limited to 'plugins/gpu_neon/gpu.c')
-rw-r--r--plugins/gpu_neon/gpu.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/gpu_neon/gpu.c b/plugins/gpu_neon/gpu.c
index 24f731e..4b18106 100644
--- a/plugins/gpu_neon/gpu.c
+++ b/plugins/gpu_neon/gpu.c
@@ -272,8 +272,10 @@ static void start_vram_transfer(uint32_t pos_word, uint32_t size_word, int is_re
if (is_read)
gpu.status.img = 1;
- else
+ else {
+ renderer_flush_queues();
renderer_invalidate_caches(gpu.dma.x, gpu.dma.y, gpu.dma.w, gpu.dma.h);
+ }
log_io("start_vram_transfer %c (%d, %d) %dx%d\n", is_read ? 'r' : 'w',
gpu.dma.x, gpu.dma.y, gpu.dma.w, gpu.dma.h);