gpu_neon/psx_gpu: fix bad masking/alignment fault
authornotaz <notasas@gmail.com>
Wed, 21 Dec 2011 20:37:56 +0000 (22:37 +0200)
committernotaz <notasas@gmail.com>
Wed, 21 Dec 2011 21:25:03 +0000 (23:25 +0200)
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 ]