mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
video/cclimber.cpp: (toprollr) fixed MT05958 (nw)
Top Roller is the only machine in the driver which has a bigger spriteram (0xdf instead of 0x1f). This was overlooked when the Top Roller video functions where merged in cclimber.
This commit is contained in:
parent
f2f8a92ea6
commit
24b36889cd
@ -582,7 +582,7 @@ void cclimber_state::toprollr_draw_sprites(bitmap_ind16 &bitmap, const rectangle
|
||||
|
||||
/* draw the sprites -- note that it is important to draw them exactly in this
|
||||
order, to have the correct priorities. */
|
||||
for (offs = 0x1c; offs >= 0; offs -= 4)
|
||||
for (offs = m_spriteram.bytes() - 4; offs >= 0; offs -= 4)
|
||||
{
|
||||
int x = m_spriteram[offs + 3];
|
||||
int y = 240 - m_spriteram[offs + 2];
|
||||
|
Loading…
Reference in New Issue
Block a user