summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/suprloco.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/suprloco.c')
-rw-r--r--src/mame/video/suprloco.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mame/video/suprloco.c b/src/mame/video/suprloco.c
index f5b12ac10ea..85191895b87 100644
--- a/src/mame/video/suprloco.c
+++ b/src/mame/video/suprloco.c
@@ -259,11 +259,10 @@ static void draw_sprites(running_machine &machine, bitmap_ind16 &bitmap, const r
}
}
-SCREEN_UPDATE_IND16( suprloco )
+UINT32 suprloco_state::screen_update_suprloco(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
- suprloco_state *state = screen.machine().driver_data<suprloco_state>();
- state->m_bg_tilemap->draw(bitmap, cliprect, 0,0);
+ m_bg_tilemap->draw(bitmap, cliprect, 0,0);
draw_sprites(screen.machine(),bitmap,cliprect);
- state->m_bg_tilemap->draw(bitmap, cliprect, 1,0);
+ m_bg_tilemap->draw(bitmap, cliprect, 1,0);
return 0;
}