if((width == 0) || (height == 0))
return;
+ flush_render_block_buffer(psx_gpu);
invalidate_texture_cache_region(psx_gpu, x, y, x + width - 1, y + height - 1);
#ifndef NEON_BUILD
u32 width, u32 height, u32 pitch)
{
u16 *vram_ptr = psx_gpu->vram_ptr + x + (y * 1024);
+ u32 mask_msb = psx_gpu->mask_msb;
u32 draw_x, draw_y;
if((width == 0) || (height == 0))
return;
+ flush_render_block_buffer(psx_gpu);
invalidate_texture_cache_region(psx_gpu, x, y, x + width - 1, y + height - 1);
for(draw_y = 0; draw_y < height; draw_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;