diff options
author | 2022-06-16 14:55:37 +0200 | |
---|---|---|
committer | 2022-06-16 14:55:47 +0200 | |
commit | 32c507d34d4bbe357a7ec6100025dc21a6e151c2 (patch) | |
tree | cc8e7b742401fe7e0133c1f9a0622301f169ed07 | |
parent | 9fe0f17f1b27b6b2cf2c9deddadd507d0bdf1bfb (diff) |
toprollr: fix bigsprite layer in cocktail mode
-rw-r--r-- | src/mame/drivers/cclimber.cpp | 1 | ||||
-rw-r--r-- | src/mame/video/cclimber.cpp | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/drivers/cclimber.cpp b/src/mame/drivers/cclimber.cpp index f591dae5351..eb8ac5e59fe 100644 --- a/src/mame/drivers/cclimber.cpp +++ b/src/mame/drivers/cclimber.cpp @@ -163,7 +163,6 @@ TODO: TODO: - COINB DSW is missing - - few issues in cocktail mode ------------------------------------------------------------------- diff --git a/src/mame/video/cclimber.cpp b/src/mame/video/cclimber.cpp index e24059094b0..5e91f91810b 100644 --- a/src/mame/video/cclimber.cpp +++ b/src/mame/video/cclimber.cpp @@ -538,6 +538,9 @@ void cclimber_state::toprollr_draw_bigsprite(screen_device &screen, bitmap_ind16 uint8_t x = m_bigsprite_control[3] - 8; uint8_t y = m_bigsprite_control[2]; + if (m_flip_x) + x = 0x80 - x; + m_bs_tilemap->mark_all_dirty(); m_bs_tilemap->set_flip((m_flip_x ? TILEMAP_FLIPX : 0) | (m_flip_y ? TILEMAP_FLIPY : 0)); |