From e70843b46ca41a5afb0136ce132efaf95aca34e6 Mon Sep 17 00:00:00 2001 From: hap Date: Wed, 2 Nov 2022 17:48:59 +0100 Subject: battlane: fix cocktail mode [dink] --- src/mame/technos/battlane.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/mame/technos/battlane.cpp b/src/mame/technos/battlane.cpp index 60a513b4a99..ae405176b6d 100644 --- a/src/mame/technos/battlane.cpp +++ b/src/mame/technos/battlane.cpp @@ -245,6 +245,9 @@ void battlane_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprec if (attr & 0x10) // Y Double { + if (flip_screen()) + sy += 16; + for (int i = 0; i < 2; i++) m_gfxdecode->gfx(0)->transpen(bitmap, cliprect, code + i, @@ -282,7 +285,7 @@ void battlane_state::draw_fg_bitmap(bitmap_ind16 &bitmap, const rectangle &clipr } if (cliprect.contains(px, py)) - bitmap.pix(y, x) = data; + bitmap.pix(py, px) = data; } } } -- cgit v1.2.3