X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=plugins%2Fgpu_neon%2Fgpu.c;fp=plugins%2Fgpu_neon%2Fgpu.c;h=03b0c71b7955c811c664d2b2f241da3cebabad07;hp=2db43797c71c6db1d4febd4f6480c657809da183;hb=5b745e5bbcb51267122821ed9dc1c8c2c77dc100;hpb=19e7cf877b6a925517238c59485edf5fe85bf2a1 diff --git a/plugins/gpu_neon/gpu.c b/plugins/gpu_neon/gpu.c index 2db43797..03b0c71b 100644 --- a/plugins/gpu_neon/gpu.c +++ b/plugins/gpu_neon/gpu.c @@ -328,11 +328,12 @@ static int check_cmd(uint32_t *data, int count) start_vram_transfer(data[pos + 1], data[pos + 2], cmd == 0xc0); pos += len; } - - if (cmd == -1) + else if (cmd == -1) break; } + if (gpu.frameskip.active) + renderer_sync_ecmds(gpu.ex_regs); gpu.state.fb_dirty |= vram_dirty; return count - pos; @@ -498,6 +499,7 @@ long GPUfreeze(uint32_t type, GPUFreeze_t *freeze) gpu.regs[i] ^= 1; // avoid reg change detection GPUwriteStatus((i << 24) | (gpu.regs[i] ^ 1)); } + renderer_sync_ecmds(gpu.ex_regs); break; }