summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/amspdwy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/amspdwy.c')
-rw-r--r--src/mame/video/amspdwy.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mame/video/amspdwy.c b/src/mame/video/amspdwy.c
index d7d6f0a8ef3..9b277805b3d 100644
--- a/src/mame/video/amspdwy.c
+++ b/src/mame/video/amspdwy.c
@@ -141,10 +141,9 @@ static void draw_sprites( running_machine &machine, bitmap_ind16 &bitmap, const
***************************************************************************/
-SCREEN_UPDATE_IND16( amspdwy )
+UINT32 amspdwy_state::screen_update_amspdwy(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
- amspdwy_state *state = screen.machine().driver_data<amspdwy_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;
}