mirror of
https://github.com/holub/mame
synced 2025-07-05 01:48:29 +03:00
parent
657c28b985
commit
1b7b4e5f11
@ -499,7 +499,7 @@ uint32_t jumping_state::screen_update(screen_device &screen, bitmap_ind16 &bitma
|
|||||||
for (int offs = m_spriteram.bytes() / 2 - 8; offs >= 0; offs -= 8)
|
for (int offs = m_spriteram.bytes() / 2 - 8; offs >= 0; offs -= 8)
|
||||||
{
|
{
|
||||||
int const tile = m_spriteram[offs];
|
int const tile = m_spriteram[offs];
|
||||||
if (tile < m_gfxdecode->gfx(1)->elements())
|
if (tile < m_gfxdecode->gfx(0)->elements())
|
||||||
{
|
{
|
||||||
int sy = ((m_spriteram[offs + 1] - 0xfff1) ^ 0xffff) & 0x1ff;
|
int sy = ((m_spriteram[offs + 1] - 0xfff1) ^ 0xffff) & 0x1ff;
|
||||||
if (sy > 400) sy = sy - 512;
|
if (sy > 400) sy = sy - 512;
|
||||||
|
Loading…
Reference in New Issue
Block a user