From: notaz Date: Thu, 29 Dec 2011 15:00:29 +0000 (+0200) Subject: gpu_neon: flush queues on upper level too X-Git-Tag: r13~24 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c64af26fdb49171b8529836628c23fc7494c11ac;p=pcsx_rearmed.git gpu_neon: flush queues on upper level too --- diff --git a/plugins/gpu_neon/gpu.c b/plugins/gpu_neon/gpu.c index 24f731e4..4b181061 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);