aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornotaz2013-03-13 02:09:36 +0200
committernotaz2013-03-15 02:19:21 +0200
commit2177c1ea9af71647a43a38d2277a7a68429d4f3c (patch)
tree1a51cca22a136dd25ca18b81ec2fa33742782a06
parenta2fc80704176e6f98c579f795f39bcc29f5877ed (diff)
downloadpcsx_rearmed-2177c1ea9af71647a43a38d2277a7a68429d4f3c.tar.gz
pcsx_rearmed-2177c1ea9af71647a43a38d2277a7a68429d4f3c.tar.bz2
pcsx_rearmed-2177c1ea9af71647a43a38d2277a7a68429d4f3c.zip
psx_gpu: fix line mask test
-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 396d274..f52e842 100644
--- a/plugins/gpu_neon/psx_gpu/psx_gpu.c
+++ b/plugins/gpu_neon/psx_gpu/psx_gpu.c
@@ -4344,7 +4344,7 @@ void render_sprite(psx_gpu_struct *psx_gpu, s32 x, s32 y, u32 u, u32 v,
}
#define draw_pixel_line_mask_evaluate_yes() \
- if(*vram_ptr & 0x8000) \
+ if((*vram_ptr & 0x8000) == 0) \
#define draw_pixel_line_mask_evaluate_no() \