aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpu_neon
diff options
context:
space:
mode:
authornotaz2012-10-07 19:34:51 +0300
committernotaz2012-10-07 20:30:40 +0300
commitaf044cbf908762f4e5d66384aa7dffeae58844aa (patch)
treea3a40da5ec337badd271a4ec1ebe39b2aa6654e7 /plugins/gpu_neon
parentf82c62507c67309b9c020a54f6c848853d39febe (diff)
downloadpcsx_rearmed-af044cbf908762f4e5d66384aa7dffeae58844aa.tar.gz
pcsx_rearmed-af044cbf908762f4e5d66384aa7dffeae58844aa.tar.bz2
pcsx_rearmed-af044cbf908762f4e5d66384aa7dffeae58844aa.zip
psx_gpu: more limit checking
Diffstat (limited to 'plugins/gpu_neon')
-rw-r--r--plugins/gpu_neon/psx_gpu/psx_gpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gpu_neon/psx_gpu/psx_gpu.c b/plugins/gpu_neon/psx_gpu/psx_gpu.c
index cf6e2be..68996c1 100644
--- a/plugins/gpu_neon/psx_gpu/psx_gpu.c
+++ b/plugins/gpu_neon/psx_gpu/psx_gpu.c
@@ -2970,7 +2970,7 @@ void render_triangle(psx_gpu_struct *psx_gpu, vertex_struct *vertexes,
vertex_swap(a, b);
}
- if((c->x - a->x) >= 1024)
+ if((c->x - psx_gpu->offset_x) >= 1024 || (c->x - a->x) >= 1024)
{
#ifdef PROFILE
trivial_rejects++;