diff options
Diffstat (limited to 'src/mame/video/gsword.c')
-rw-r--r-- | src/mame/video/gsword.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mame/video/gsword.c b/src/mame/video/gsword.c index 5ca803b24e4..7513a28d112 100644 --- a/src/mame/video/gsword.c +++ b/src/mame/video/gsword.c @@ -202,10 +202,9 @@ static void draw_sprites(running_machine &machine, bitmap_ind16 &bitmap, const r } } -SCREEN_UPDATE_IND16( gsword ) +UINT32 gsword_state::screen_update_gsword(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) { - gsword_state *state = screen.machine().driver_data<gsword_state>(); - state->m_bg_tilemap->draw(bitmap, cliprect, 0, 0); + m_bg_tilemap->draw(bitmap, cliprect, 0, 0); draw_sprites(screen.machine(), bitmap, cliprect); return 0; } |