psx_gpu: fix line mask test
authornotaz <notasas@gmail.com>
Wed, 13 Mar 2013 00:09:36 +0000 (02:09 +0200)
committernotaz <notasas@gmail.com>
Fri, 15 Mar 2013 00:19:21 +0000 (02:19 +0200)
plugins/gpu_neon/psx_gpu/psx_gpu.c

index 396d274..f52e842 100644 (file)
@@ -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()                                     \