From 5b745e5bbcb51267122821ed9dc1c8c2c77dc100 Mon Sep 17 00:00:00 2001 From: notaz Date: Sat, 13 Aug 2011 02:13:13 +0300 Subject: gpu_neon: handle 0xEx cmds while frameskiping otherwise things go out of sync --- plugins/gpu_neon/peops_if.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'plugins/gpu_neon/peops_if.c') 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) { } -- cgit v1.2.3