aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornotaz2011-12-21 22:37:56 +0200
committernotaz2011-12-21 23:25:03 +0200
commit6ea0f7bfb085890dda8f1d29077995d7c0dc1ce4 (patch)
treecca1b27cea9c38bdc90598eb06ab2c25c0646616
parent90ca49139cdc64ab374f2e763cb4c28fffd0a7b8 (diff)
downloadpcsx_rearmed-6ea0f7bfb085890dda8f1d29077995d7c0dc1ce4.tar.gz
pcsx_rearmed-6ea0f7bfb085890dda8f1d29077995d7c0dc1ce4.tar.bz2
pcsx_rearmed-6ea0f7bfb085890dda8f1d29077995d7c0dc1ce4.zip
gpu_neon/psx_gpu: fix bad masking/alignment fault
-rw-r--r--plugins/gpu_neon/psx_gpu/psx_gpu_arm_neon.S2
1 files changed, 1 insertions, 1 deletions
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 3551b59..54605b8 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 ]