X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=plugins%2Fgpu_neon%2Fpsx_gpu%2Fpsx_gpu.c;h=5c49b228bf1d6423dde502dcb6c89c1394d63fe9;hp=2acfedc6d5a18e0e6d34257b4d35e7ebd37e2ede;hb=b7ed06327bf625bdc1aa55899665f544757e9b76;hpb=3867c6efed8d1cd6cd40f07cd46876f59da8912f diff --git a/plugins/gpu_neon/psx_gpu/psx_gpu.c b/plugins/gpu_neon/psx_gpu/psx_gpu.c index 2acfedc6..5c49b228 100644 --- a/plugins/gpu_neon/psx_gpu/psx_gpu.c +++ b/plugins/gpu_neon/psx_gpu/psx_gpu.c @@ -281,6 +281,7 @@ void update_texture_4bpp_cache(psx_gpu_struct *psx_gpu) while(sub_x) { texel_block = *vram_ptr; + texture_page_ptr[0] = texel_block & 0xF; texture_page_ptr[1] = (texel_block >> 4) & 0xF; texture_page_ptr[2] = (texel_block >> 8) & 0xF; @@ -2017,6 +2018,10 @@ void texture_blocks_16bpp(psx_gpu_struct *psx_gpu) #define shade_blocks_textured_false_modulated_check_dithered(target) \ + if(psx_gpu->triangle_color == 0x808080) \ + { \ + false_modulated_blocks += num_blocks; \ + } \ #define shade_blocks_textured_false_modulated_check_undithered(target) \ if(psx_gpu->triangle_color == 0x808080) \