summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/blktiger.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/blktiger.c')
-rw-r--r--src/mame/video/blktiger.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/mame/video/blktiger.c b/src/mame/video/blktiger.c
index 3567d1dbbdf..570e8e1e472 100644
--- a/src/mame/video/blktiger.c
+++ b/src/mame/video/blktiger.c
@@ -218,23 +218,22 @@ static void draw_sprites( running_machine &machine, bitmap_ind16 &bitmap, const
}
}
-SCREEN_UPDATE_IND16( blktiger )
+UINT32 blktiger_state::screen_update_blktiger(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
- blktiger_state *state = screen.machine().driver_data<blktiger_state>();
bitmap.fill(1023, cliprect);
- if (state->m_bgon)
- (state->m_screen_layout ? state->m_bg_tilemap8x4 : state->m_bg_tilemap4x8)->draw(bitmap, cliprect, TILEMAP_DRAW_LAYER1, 0);
+ if (m_bgon)
+ (m_screen_layout ? m_bg_tilemap8x4 : m_bg_tilemap4x8)->draw(bitmap, cliprect, TILEMAP_DRAW_LAYER1, 0);
- if (state->m_objon)
+ if (m_objon)
draw_sprites(screen.machine(), bitmap, cliprect);
- if (state->m_bgon)
- (state->m_screen_layout ? state->m_bg_tilemap8x4 : state->m_bg_tilemap4x8)->draw(bitmap, cliprect, TILEMAP_DRAW_LAYER0, 0);
+ if (m_bgon)
+ (m_screen_layout ? m_bg_tilemap8x4 : m_bg_tilemap4x8)->draw(bitmap, cliprect, TILEMAP_DRAW_LAYER0, 0);
- if (state->m_chon)
- state->m_tx_tilemap->draw(bitmap, cliprect, 0, 0);
+ if (m_chon)
+ m_tx_tilemap->draw(bitmap, cliprect, 0, 0);
return 0;
}