summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/mame/capcom/higemaru.cpp6
1 files 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()