summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/flstory.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/flstory.c')
-rw-r--r--src/mame/video/flstory.c27
1 files changed, 12 insertions, 15 deletions
diff --git a/src/mame/video/flstory.c b/src/mame/video/flstory.c
index 3d4761d54ef..666ddae901a 100644
--- a/src/mame/video/flstory.c
+++ b/src/mame/video/flstory.c
@@ -204,15 +204,14 @@ static void flstory_draw_sprites( running_machine &machine, bitmap_ind16 &bitmap
}
}
-SCREEN_UPDATE_IND16( flstory )
+UINT32 flstory_state::screen_update_flstory(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
- flstory_state *state = screen.machine().driver_data<flstory_state>();
- state->m_bg_tilemap->draw(bitmap, cliprect, 0 | TILEMAP_DRAW_LAYER1, 0);
- state->m_bg_tilemap->draw(bitmap, cliprect, 1 | TILEMAP_DRAW_LAYER1, 0);
+ m_bg_tilemap->draw(bitmap, cliprect, 0 | TILEMAP_DRAW_LAYER1, 0);
+ m_bg_tilemap->draw(bitmap, cliprect, 1 | TILEMAP_DRAW_LAYER1, 0);
flstory_draw_sprites(screen.machine(), bitmap, cliprect, 0x00);
- state->m_bg_tilemap->draw(bitmap, cliprect, 0 | TILEMAP_DRAW_LAYER0, 0);
+ m_bg_tilemap->draw(bitmap, cliprect, 0 | TILEMAP_DRAW_LAYER0, 0);
flstory_draw_sprites(screen.machine(), bitmap, cliprect, 0x80);
- state->m_bg_tilemap->draw(bitmap, cliprect, 1 | TILEMAP_DRAW_LAYER0, 0);
+ m_bg_tilemap->draw(bitmap, cliprect, 1 | TILEMAP_DRAW_LAYER0, 0);
return 0;
}
@@ -261,22 +260,20 @@ static void victnine_draw_sprites( running_machine &machine, bitmap_ind16 &bitma
}
}
-SCREEN_UPDATE_IND16( victnine )
+UINT32 flstory_state::screen_update_victnine(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
- flstory_state *state = screen.machine().driver_data<flstory_state>();
- state->m_bg_tilemap->draw(bitmap, cliprect, 0, 0);
+ m_bg_tilemap->draw(bitmap, cliprect, 0, 0);
victnine_draw_sprites(screen.machine(), bitmap, cliprect);
return 0;
}
-SCREEN_UPDATE_IND16( rumba )
+UINT32 flstory_state::screen_update_rumba(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
- flstory_state *state = screen.machine().driver_data<flstory_state>();
- state->m_bg_tilemap->draw(bitmap, cliprect, 0 | TILEMAP_DRAW_LAYER1, 0);
- state->m_bg_tilemap->draw(bitmap, cliprect, 1 | TILEMAP_DRAW_LAYER1, 0);
+ m_bg_tilemap->draw(bitmap, cliprect, 0 | TILEMAP_DRAW_LAYER1, 0);
+ m_bg_tilemap->draw(bitmap, cliprect, 1 | TILEMAP_DRAW_LAYER1, 0);
victnine_draw_sprites(screen.machine(), bitmap, cliprect);
- state->m_bg_tilemap->draw(bitmap, cliprect, 0 | TILEMAP_DRAW_LAYER0, 0);
+ m_bg_tilemap->draw(bitmap, cliprect, 0 | TILEMAP_DRAW_LAYER0, 0);
victnine_draw_sprites(screen.machine(), bitmap, cliprect);
- state->m_bg_tilemap->draw(bitmap, cliprect, 1 | TILEMAP_DRAW_LAYER0, 0);
+ m_bg_tilemap->draw(bitmap, cliprect, 1 | TILEMAP_DRAW_LAYER0, 0);
return 0;
}