gpu_neon/psx_gpu: fix bad masking/alignment fault
[pcsx_rearmed.git] / plugins / gpu_neon / psx_gpu / psx_gpu_arm_neon.S
index 3551b59..54605b8 100644 (file)
@@ -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 ]