From a65533ade9b88a99c7dfdeb30bc1634e13ffb869 Mon Sep 17 00:00:00 2001 From: JOTEGO Date: Mon, 15 Jan 2024 10:47:39 +0100 Subject: [PATCH] higemaru: Add tile x/y flip, fixes hi-score screen (#11936) --- src/mame/capcom/higemaru.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mame/capcom/higemaru.cpp b/src/mame/capcom/higemaru.cpp index 78ee42edfa5..e3d97975a04 100644 --- a/src/mame/capcom/higemaru.cpp +++ b/src/mame/capcom/higemaru.cpp @@ -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()