mirror of
https://github.com/holub/mame
synced 2025-07-01 08:18:59 +03:00
match previous sprite position, real y coordinate has 7 subtracted from the work area so 248 should be 241.
This commit is contained in:
parent
49e74235fe
commit
1cfbe410c9
@ -154,20 +154,7 @@ 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];
|
||||||
// alignment with door enemy apperances & falling gaps
|
int sy = 241 - m_spriteram[offs + 1];
|
||||||
//int sy = 255 - m_spriteram[offs + 1];
|
|
||||||
int sy = 240 - m_spriteram[offs + 1];
|
|
||||||
|
|
||||||
// done in SW
|
|
||||||
#if 0
|
|
||||||
if (flip_screen())
|
|
||||||
{
|
|
||||||
sx = 240 - sx;
|
|
||||||
sy = 248 - sy;
|
|
||||||
flipx = !flipx;
|
|
||||||
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