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=76bfb157a7e320cbdebcd1da3bed4bf1bb406685;hp=72c767e39f849624712e65bc9e7678e9f4288ac4;hb=87c45ad1e2a265cedb7970cc1b7777591d0050b7;hpb=cec398c037bc9c9ec9010dcbed04f2c3ae7d2c61 diff --git a/plugins/gpu_neon/psx_gpu/psx_gpu.c b/plugins/gpu_neon/psx_gpu/psx_gpu.c index 72c767e3..76bfb157 100644 --- a/plugins/gpu_neon/psx_gpu/psx_gpu.c +++ b/plugins/gpu_neon/psx_gpu/psx_gpu.c @@ -4353,6 +4353,7 @@ void render_block_copy(psx_gpu_struct *psx_gpu, u16 *source, u32 x, u32 y, { u16 *vram_ptr = psx_gpu->vram_ptr + x + (y * 1024); u32 draw_x, draw_y; + u32 mask_msb = psx_gpu->mask_msb; if((width == 0) || (height == 0)) return; @@ -4364,7 +4365,7 @@ void render_block_copy(psx_gpu_struct *psx_gpu, u16 *source, u32 x, u32 y, { for(draw_x = 0; draw_x < width; draw_x++) { - vram_ptr[draw_x] = source[draw_x]; + vram_ptr[draw_x] = source[draw_x] | mask_msb; } source += pitch;