From 2177c1ea9af71647a43a38d2277a7a68429d4f3c Mon Sep 17 00:00:00 2001 From: notaz Date: Wed, 13 Mar 2013 02:09:36 +0200 Subject: [PATCH 1/1] psx_gpu: fix line mask test --- plugins/gpu_neon/psx_gpu/psx_gpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/gpu_neon/psx_gpu/psx_gpu.c b/plugins/gpu_neon/psx_gpu/psx_gpu.c index 396d274c..f52e842b 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() \ -- 2.39.2