summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/gbusters.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/gbusters.c')
-rw-r--r--src/mame/video/gbusters.c31
1 files changed, 15 insertions, 16 deletions
diff --git a/src/mame/video/gbusters.c b/src/mame/video/gbusters.c
index a9fe019b0c4..91d28ae9f59 100644
--- a/src/mame/video/gbusters.c
+++ b/src/mame/video/gbusters.c
@@ -46,30 +46,29 @@ void gbusters_state::video_start()
}
-SCREEN_UPDATE_IND16( gbusters )
+UINT32 gbusters_state::screen_update_gbusters(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
- gbusters_state *state = screen.machine().driver_data<gbusters_state>();
- k052109_tilemap_update(state->m_k052109);
+ k052109_tilemap_update(m_k052109);
/* sprite priority 3 = disable */
- if (state->m_priority)
+ if (m_priority)
{
-// k051960_sprites_draw(state->m_k051960, bitmap, cliprect, 1, 1); /* are these used? */
- k052109_tilemap_draw(state->m_k052109, bitmap, cliprect, 2, TILEMAP_DRAW_OPAQUE, 0);
- k051960_sprites_draw(state->m_k051960, bitmap, cliprect, 2, 2);
- k052109_tilemap_draw(state->m_k052109, bitmap, cliprect, 1, 0, 0);
- k051960_sprites_draw(state->m_k051960, bitmap, cliprect, 0, 0);
- k052109_tilemap_draw(state->m_k052109, bitmap, cliprect, 0, 0, 0);
+// k051960_sprites_draw(m_k051960, bitmap, cliprect, 1, 1); /* are these used? */
+ k052109_tilemap_draw(m_k052109, bitmap, cliprect, 2, TILEMAP_DRAW_OPAQUE, 0);
+ k051960_sprites_draw(m_k051960, bitmap, cliprect, 2, 2);
+ k052109_tilemap_draw(m_k052109, bitmap, cliprect, 1, 0, 0);
+ k051960_sprites_draw(m_k051960, bitmap, cliprect, 0, 0);
+ k052109_tilemap_draw(m_k052109, bitmap, cliprect, 0, 0, 0);
}
else
{
-// k051960_sprites_draw(state->m_k051960, bitmap, cliprect, 1, 1); /* are these used? */
- k052109_tilemap_draw(state->m_k052109, bitmap, cliprect, 1, TILEMAP_DRAW_OPAQUE, 0);
- k051960_sprites_draw(state->m_k051960, bitmap, cliprect, 2, 2);
- k052109_tilemap_draw(state->m_k052109, bitmap, cliprect, 2, 0, 0);
- k051960_sprites_draw(state->m_k051960, bitmap, cliprect, 0, 0);
- k052109_tilemap_draw(state->m_k052109, bitmap, cliprect, 0, 0, 0);
+// k051960_sprites_draw(m_k051960, bitmap, cliprect, 1, 1); /* are these used? */
+ k052109_tilemap_draw(m_k052109, bitmap, cliprect, 1, TILEMAP_DRAW_OPAQUE, 0);
+ k051960_sprites_draw(m_k051960, bitmap, cliprect, 2, 2);
+ k052109_tilemap_draw(m_k052109, bitmap, cliprect, 2, 0, 0);
+ k051960_sprites_draw(m_k051960, bitmap, cliprect, 0, 0);
+ k052109_tilemap_draw(m_k052109, bitmap, cliprect, 0, 0, 0);
}
return 0;
}