aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpu_neon/peops_if.c
diff options
context:
space:
mode:
authornotaz2011-08-13 02:13:13 +0300
committernotaz2011-08-13 02:15:08 +0300
commit5b745e5bbcb51267122821ed9dc1c8c2c77dc100 (patch)
tree32e183e310e5b3877f0f5928e55ef974a57b0b51 /plugins/gpu_neon/peops_if.c
parent19e7cf877b6a925517238c59485edf5fe85bf2a1 (diff)
downloadpcsx_rearmed-5b745e5bbcb51267122821ed9dc1c8c2c77dc100.tar.gz
pcsx_rearmed-5b745e5bbcb51267122821ed9dc1c8c2c77dc100.tar.bz2
pcsx_rearmed-5b745e5bbcb51267122821ed9dc1c8c2c77dc100.zip
gpu_neon: handle 0xEx cmds while frameskiping
otherwise things go out of sync
Diffstat (limited to 'plugins/gpu_neon/peops_if.c')
-rw-r--r--plugins/gpu_neon/peops_if.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/gpu_neon/peops_if.c b/plugins/gpu_neon/peops_if.c
index 04c2595..1a4072f 100644
--- a/plugins/gpu_neon/peops_if.c
+++ b/plugins/gpu_neon/peops_if.c
@@ -365,6 +365,16 @@ void do_cmd_list(unsigned int *list, int list_len)
}
}
+void renderer_sync_ecmds(uint32_t *ecmds)
+{
+ cmdTexturePage((unsigned char *)&ecmds[1]);
+ cmdTextureWindow((unsigned char *)&ecmds[2]);
+ cmdDrawAreaStart((unsigned char *)&ecmds[3]);
+ cmdDrawAreaEnd((unsigned char *)&ecmds[4]);
+ cmdDrawOffset((unsigned char *)&ecmds[5]);
+ cmdSTP((unsigned char *)&ecmds[6]);
+}
+
void renderer_invalidate_caches(int x, int y, int w, int h)
{
}