render_blocks_switch_block_texture_mode(4bpp), \
render_blocks_switch_block_texture_mode(8bpp), \
render_blocks_switch_block_texture_mode(16bpp), \
- render_blocks_switch_block_texture_mode(4bpp) \
+ render_blocks_switch_block_texture_mode(16bpp) \
render_block_handler_struct render_triangle_block_handlers[] =
render_sprite_blocks_switch_block_texture_mode(4bpp), \
render_sprite_blocks_switch_block_texture_mode(8bpp), \
render_sprite_blocks_switch_block_texture_mode(16bpp), \
- render_sprite_blocks_switch_block_texture_mode(4bpp) \
+ render_sprite_blocks_switch_block_texture_mode(16bpp) \
render_block_handler_struct render_sprite_block_handlers[] =
render_sprite_blocks_switch_block_texture_mode_4x(4bpp), \\r
render_sprite_blocks_switch_block_texture_mode_4x(8bpp), \\r
render_sprite_blocks_switch_block_texture_mode_4x(16bpp), \\r
- render_sprite_blocks_switch_block_texture_mode_4x(4bpp) \\r
+ render_sprite_blocks_switch_block_texture_mode_4x(16bpp) \\r
\r
\r
render_block_handler_struct render_sprite_block_handlers_4x[] =\r
switch((psx_gpu->render_state_base >> 8) & 0x3)
{
- default:
case TEXTURE_MODE_4BPP:
texture_base = psx_gpu->texture_4bpp_cache[psx_gpu->current_texture_page];
texture_ptr += (psx_gpu->texture_window_y >> 4) << 12;
break;
+ default:
case TEXTURE_MODE_16BPP:
texture_base = (u8 *)(psx_gpu->vram_ptr);
texture_base += (psx_gpu->current_texture_page & 0xF) * 128;