From: notaz Date: Wed, 21 Dec 2011 20:37:56 +0000 (+0200) Subject: gpu_neon/psx_gpu: fix bad masking/alignment fault X-Git-Tag: r12~10 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ea0f7bfb085890dda8f1d29077995d7c0dc1ce4;p=pcsx_rearmed.git gpu_neon/psx_gpu: fix bad masking/alignment fault --- diff --git a/plugins/gpu_neon/psx_gpu/psx_gpu_arm_neon.S b/plugins/gpu_neon/psx_gpu/psx_gpu_arm_neon.S index 3551b596..54605b84 100644 --- a/plugins/gpu_neon/psx_gpu/psx_gpu_arm_neon.S +++ b/plugins/gpu_neon/psx_gpu/psx_gpu_arm_neon.S @@ -5122,7 +5122,7 @@ function(setup_sprite_16bpp) ldrh num_blocks, [ psx_gpu, #psx_gpu_num_blocks_offset ] add block, psx_gpu, #psx_gpu_blocks_offset - bic texture_offset_base, texture_offset_base, #0x7 + bic texture_offset_base, texture_offset_base, #0xF cmp block_width, #1 ldr texture_page_ptr, [ psx_gpu, #psx_gpu_texture_page_ptr_offset ]