summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/pooyan.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/pooyan.c')
-rw-r--r--src/mame/video/pooyan.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mame/video/pooyan.c b/src/mame/video/pooyan.c
index 722575ec839..74714daae6e 100644
--- a/src/mame/video/pooyan.c
+++ b/src/mame/video/pooyan.c
@@ -189,11 +189,10 @@ static void draw_sprites( running_machine &machine, bitmap_ind16 &bitmap, const
*
*************************************/
-SCREEN_UPDATE_IND16( pooyan )
+UINT32 pooyan_state::screen_update_pooyan(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
- pooyan_state *state = screen.machine().driver_data<pooyan_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;
}