aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpulib
diff options
context:
space:
mode:
authornotaz2012-07-18 01:56:37 +0300
committernotaz2012-07-18 23:56:54 +0300
commitb8d961effdd3fc2a00dc073cae06b6d937682420 (patch)
treebe4fff79448744d0dde320e2a5132fa365f6d8c1 /plugins/gpulib
parent8ca6b0a6dcf5ce986f6dd2deacf1f95dbf1a8e92 (diff)
downloadpcsx_rearmed-b8d961effdd3fc2a00dc073cae06b6d937682420.tar.gz
pcsx_rearmed-b8d961effdd3fc2a00dc073cae06b6d937682420.tar.bz2
pcsx_rearmed-b8d961effdd3fc2a00dc073cae06b6d937682420.zip
psx_gpu: fix line cmd length and move w/h masking
w/h masking untested, I'm lazy
Diffstat (limited to 'plugins/gpulib')
-rw-r--r--plugins/gpulib/gpu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/gpulib/gpu.c b/plugins/gpulib/gpu.c
index ea17237..79a5fa4 100644
--- a/plugins/gpulib/gpu.c
+++ b/plugins/gpulib/gpu.c
@@ -333,6 +333,7 @@ static noinline int do_cmd_list_skip(uint32_t *data, int count, int *last_cmd)
int cmd = 0, pos = 0, len, dummy;
int skip = 1;
+ // XXX: polylines are not properly handled
while (pos < count && skip) {
uint32_t *list = data + pos;
cmd = list[0] >> 24;