mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
higemaru: Add tile x/y flip, fixes hi-score screen (#11936)
This commit is contained in:
parent
0f0b802326
commit
a65533ade9
@ -168,10 +168,10 @@ void higemaru_state::c800_w(uint8_t data)
|
||||
|
||||
TILE_GET_INFO_MEMBER(higemaru_state::get_bg_tile_info)
|
||||
{
|
||||
int const code = m_videoram[tile_index] + ((m_colorram[tile_index] & 0x80) << 1);
|
||||
int const color = m_colorram[tile_index] & 0x1f;
|
||||
int const attr = m_colorram[tile_index];
|
||||
int const code = m_videoram[tile_index] | ((attr & 0x80) << 1);
|
||||
|
||||
tileinfo.set(0, code, color, 0);
|
||||
tileinfo.set(0, code, attr & 0x1f, TILE_FLIPYX((attr & 0x60) >> 5));
|
||||
}
|
||||
|
||||
void higemaru_state::video_start()
|
||||
|
Loading…
Reference in New Issue
Block a user