summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/kchamp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/kchamp.c')
-rw-r--r--src/mame/video/kchamp.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/mame/video/kchamp.c b/src/mame/video/kchamp.c
index 2f3a73b8793..b6f0e4b23e3 100644
--- a/src/mame/video/kchamp.c
+++ b/src/mame/video/kchamp.c
@@ -124,20 +124,18 @@ static void kchampvs_draw_sprites( running_machine &machine, bitmap_ind16 &bitma
}
-SCREEN_UPDATE_IND16( kchamp )
+UINT32 kchamp_state::screen_update_kchamp(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
- kchamp_state *state = screen.machine().driver_data<kchamp_state>();
- state->m_bg_tilemap->draw(bitmap, cliprect, 0, 0);
+ m_bg_tilemap->draw(bitmap, cliprect, 0, 0);
kchamp_draw_sprites(screen.machine(), bitmap, cliprect);
return 0;
}
-SCREEN_UPDATE_IND16( kchampvs )
+UINT32 kchamp_state::screen_update_kchampvs(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
- kchamp_state *state = screen.machine().driver_data<kchamp_state>();
- state->m_bg_tilemap->draw(bitmap, cliprect, 0, 0);
+ m_bg_tilemap->draw(bitmap, cliprect, 0, 0);
kchampvs_draw_sprites(screen.machine(), bitmap, cliprect);
return 0;
}