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:
Ivan Vangelista 2015-11-17 18:11:36 +01:00
parent f2f8a92ea6
commit 24b36889cd

View File

@ -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];