diff options
Diffstat (limited to 'src/mame/video/timelimt.c')
-rw-r--r-- | src/mame/video/timelimt.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/mame/video/timelimt.c b/src/mame/video/timelimt.c index b4c1b2cfbdc..505c252d3ad 100644 --- a/src/mame/video/timelimt.c +++ b/src/mame/video/timelimt.c @@ -136,15 +136,14 @@ static void draw_sprites(running_machine &machine, bitmap_ind16 &bitmap, const r } -SCREEN_UPDATE_IND16( timelimt ) +UINT32 timelimt_state::screen_update_timelimt(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) { - timelimt_state *state = screen.machine().driver_data<timelimt_state>(); - state->m_bg_tilemap->set_scrollx(0, state->m_scrollx); - state->m_bg_tilemap->set_scrolly(0, state->m_scrolly); - state->m_bg_tilemap->draw(bitmap, cliprect, 0, 0); + m_bg_tilemap->set_scrollx(0, m_scrollx); + m_bg_tilemap->set_scrolly(0, m_scrolly); + m_bg_tilemap->draw(bitmap, cliprect, 0, 0); draw_sprites(screen.machine(), bitmap, cliprect); - state->m_fg_tilemap->draw(bitmap, cliprect, 0, 0); + m_fg_tilemap->draw(bitmap, cliprect, 0, 0); return 0; } |