higemaru: Add tile x/y flip, fixes hi-score screen (#11936)

This commit is contained in:
JOTEGO 2024-01-15 10:47:39 +01:00 committed by GitHub
parent 0f0b802326
commit a65533ade9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()