diff options
Diffstat (limited to 'src/mame/video/supbtime.c')
-rw-r--r-- | src/mame/video/supbtime.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/mame/video/supbtime.c b/src/mame/video/supbtime.c index ce425717ca3..bca89067024 100644 --- a/src/mame/video/supbtime.c +++ b/src/mame/video/supbtime.c @@ -21,19 +21,18 @@ End sequence uses rowscroll '98 c0' on pf1 (jmp to 1d61a on supbtimj) /******************************************************************************/ -SCREEN_UPDATE_IND16(supbtime) +UINT32 supbtime_state::screen_update_supbtime(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) { - supbtime_state *state = screen.machine().driver_data<supbtime_state>(); address_space &space = screen.machine().driver_data()->generic_space(); - UINT16 flip = deco16ic_pf_control_r(state->m_deco_tilegen1, space, 0, 0xffff); + UINT16 flip = deco16ic_pf_control_r(m_deco_tilegen1, space, 0, 0xffff); - state->flip_screen_set(BIT(flip, 7)); - deco16ic_pf_update(state->m_deco_tilegen1, state->m_pf1_rowscroll, state->m_pf2_rowscroll); + flip_screen_set(BIT(flip, 7)); + deco16ic_pf_update(m_deco_tilegen1, m_pf1_rowscroll, m_pf2_rowscroll); bitmap.fill(768, cliprect); - deco16ic_tilemap_2_draw(state->m_deco_tilegen1, bitmap, cliprect, 0, 0); - screen.machine().device<decospr_device>("spritegen")->draw_sprites(bitmap, cliprect, state->m_spriteram, 0x400); - deco16ic_tilemap_1_draw(state->m_deco_tilegen1, bitmap, cliprect, 0, 0); + deco16ic_tilemap_2_draw(m_deco_tilegen1, bitmap, cliprect, 0, 0); + screen.machine().device<decospr_device>("spritegen")->draw_sprites(bitmap, cliprect, m_spriteram, 0x400); + deco16ic_tilemap_1_draw(m_deco_tilegen1, bitmap, cliprect, 0, 0); return 0; } |