notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
966c128
)
gpulib: yet another frameskip hack
author
notaz
<notasas@gmail.com>
Fri, 2 Mar 2012 21:11:45 +0000
(23:11 +0200)
committer
notaz
<notasas@gmail.com>
Fri, 2 Mar 2012 21:11:45 +0000
(23:11 +0200)
or should I call it heuristic?
plugins/gpulib/gpu.c
patch
|
blob
|
blame
|
history
diff --git
a/plugins/gpulib/gpu.c
b/plugins/gpulib/gpu.c
index
df0099c
..
aefd53b
100644
(file)
--- a/
plugins/gpulib/gpu.c
+++ b/
plugins/gpulib/gpu.c
@@
-397,7
+397,8
@@
static noinline int do_cmd_buffer(uint32_t *data, int count)
continue;
}
- if (gpu.frameskip.active && gpu.frameskip.allow)
+ // 0xex cmds might affect frameskip.allow, so pass to do_cmd_list_skip
+ if (gpu.frameskip.active && (gpu.frameskip.allow || ((data[pos] >> 24) & 0xf0) == 0xe0))
pos += do_cmd_list_skip(data + pos, count - pos, &cmd);
else {
pos += do_cmd_list(data + pos, count - pos, &cmd);