mirror of
https://github.com/holub/mame
synced 2025-07-02 00:29:37 +03:00
battlane: fix cocktail mode [dink]
This commit is contained in:
parent
18aca96b4e
commit
e70843b46c
@ -245,6 +245,9 @@ void battlane_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprec
|
|||||||
|
|
||||||
if (attr & 0x10) // Y Double
|
if (attr & 0x10) // Y Double
|
||||||
{
|
{
|
||||||
|
if (flip_screen())
|
||||||
|
sy += 16;
|
||||||
|
|
||||||
for (int i = 0; i < 2; i++)
|
for (int i = 0; i < 2; i++)
|
||||||
m_gfxdecode->gfx(0)->transpen(bitmap, cliprect,
|
m_gfxdecode->gfx(0)->transpen(bitmap, cliprect,
|
||||||
code + i,
|
code + i,
|
||||||
@ -282,7 +285,7 @@ void battlane_state::draw_fg_bitmap(bitmap_ind16 &bitmap, const rectangle &clipr
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (cliprect.contains(px, py))
|
if (cliprect.contains(px, py))
|
||||||
bitmap.pix(y, x) = data;
|
bitmap.pix(py, px) = data;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user