mirror of
https://github.com/holub/mame
synced 2025-07-01 08:18:59 +03:00
shaolins.cpp: fix sprite video regressions
This commit is contained in:
parent
9d1d94f104
commit
49e74235fe
@ -154,8 +154,12 @@ void shaolins_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprec
|
|||||||
int flipx = !(m_spriteram[offs + 0] & 0x40);
|
int flipx = !(m_spriteram[offs + 0] & 0x40);
|
||||||
int flipy = m_spriteram[offs + 0] & 0x80;
|
int flipy = m_spriteram[offs + 0] & 0x80;
|
||||||
int sx = m_spriteram2[offs + 0];
|
int sx = m_spriteram2[offs + 0];
|
||||||
int sy = 255 - m_spriteram[offs + 1];
|
// alignment with door enemy apperances & falling gaps
|
||||||
|
//int sy = 255 - m_spriteram[offs + 1];
|
||||||
|
int sy = 240 - m_spriteram[offs + 1];
|
||||||
|
|
||||||
|
// done in SW
|
||||||
|
#if 0
|
||||||
if (flip_screen())
|
if (flip_screen())
|
||||||
{
|
{
|
||||||
sx = 240 - sx;
|
sx = 240 - sx;
|
||||||
@ -163,6 +167,7 @@ void shaolins_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprec
|
|||||||
flipx = !flipx;
|
flipx = !flipx;
|
||||||
flipy = !flipy;
|
flipy = !flipy;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
m_gfxdecode->gfx(1)->transmask(bitmap,cliprect,
|
m_gfxdecode->gfx(1)->transmask(bitmap,cliprect,
|
||||||
code, color,
|
code, color,
|
||||||
|
Loading…
Reference in New Issue
Block a user