summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/m62.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/m62.c')
-rw-r--r--src/mame/video/m62.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/mame/video/m62.c b/src/mame/video/m62.c
index 316ea167af2..2e7fc535a81 100644
--- a/src/mame/video/m62.c
+++ b/src/mame/video/m62.c
@@ -475,7 +475,7 @@ UINT32 m62_state::screen_update_kungfum(screen_device &screen, bitmap_ind16 &bit
m_bg_tilemap->set_scrollx(i, m_m62_background_hscroll);
}
m_bg_tilemap->draw(bitmap, cliprect, 0, 0);
- draw_sprites(screen.machine(), bitmap, cliprect, 0x1f, 0x00, 0x00);
+ draw_sprites(machine(), bitmap, cliprect, 0x1f, 0x00, 0x00);
m_bg_tilemap->draw(bitmap, cliprect, 1, 0);
return 0;
}
@@ -515,9 +515,9 @@ UINT32 m62_state::screen_update_ldrun(screen_device &screen, bitmap_ind16 &bitma
m_bg_tilemap->set_scrolly(0, m_m62_background_vscroll);
m_bg_tilemap->draw(bitmap, cliprect, TILEMAP_DRAW_LAYER1, 0);
- draw_sprites(screen.machine(), bitmap, cliprect, 0x0f, 0x10, 0x00);
+ draw_sprites(machine(), bitmap, cliprect, 0x0f, 0x10, 0x00);
m_bg_tilemap->draw(bitmap, cliprect, TILEMAP_DRAW_LAYER0, 0);
- draw_sprites(screen.machine(), bitmap, cliprect, 0x0f, 0x10, 0x10);
+ draw_sprites(machine(), bitmap, cliprect, 0x0f, 0x10, 0x10);
return 0;
}
@@ -563,11 +563,11 @@ UINT32 m62_state::screen_update_ldrun3(screen_device &screen, bitmap_ind16 &bitm
my_cliprect.min_y = 0 * 8;
my_cliprect.max_y = 1 * 8 - 1;
- bitmap.fill(get_black_pen(screen.machine()), my_cliprect);
+ bitmap.fill(get_black_pen(machine()), my_cliprect);
my_cliprect.min_y = 31 * 8;
my_cliprect.max_y = 32 * 8 - 1;
- bitmap.fill(get_black_pen(screen.machine()), my_cliprect);
+ bitmap.fill(get_black_pen(machine()), my_cliprect);
}
return 0;
@@ -619,9 +619,9 @@ UINT32 m62_state::screen_update_battroad(screen_device &screen, bitmap_ind16 &bi
m_fg_tilemap->set_transparent_pen(0);
m_bg_tilemap->draw(bitmap, cliprect, TILEMAP_DRAW_LAYER1, 0);
- draw_sprites(screen.machine(), bitmap, cliprect, 0x0f, 0x10, 0x00);
+ draw_sprites(machine(), bitmap, cliprect, 0x0f, 0x10, 0x00);
m_bg_tilemap->draw(bitmap, cliprect, TILEMAP_DRAW_LAYER0, 0);
- draw_sprites(screen.machine(), bitmap, cliprect, 0x0f, 0x10, 0x10);
+ draw_sprites(machine(), bitmap, cliprect, 0x0f, 0x10, 0x10);
m_fg_tilemap->draw(bitmap, cliprect, 0, 0);
return 0;
}
@@ -648,7 +648,7 @@ UINT32 m62_state::screen_update_ldrun4(screen_device &screen, bitmap_ind16 &bitm
m_bg_tilemap->set_scrollx(0, m_m62_background_hscroll - 2);
m_bg_tilemap->draw(bitmap, cliprect, 0, 0);
- draw_sprites(screen.machine(), bitmap, cliprect, 0x1f, 0x00, 0x00);
+ draw_sprites(machine(), bitmap, cliprect, 0x1f, 0x00, 0x00);
return 0;
}
@@ -693,7 +693,7 @@ UINT32 m62_state::screen_update_lotlot(screen_device &screen, bitmap_ind16 &bitm
m_bg_tilemap->draw(bitmap, cliprect, 0, 0);
m_fg_tilemap->draw(bitmap, cliprect, 0, 0);
- draw_sprites(screen.machine(), bitmap, cliprect, 0x1f, 0x00, 0x00);
+ draw_sprites(machine(), bitmap, cliprect, 0x1f, 0x00, 0x00);
return 0;
}
@@ -756,7 +756,7 @@ UINT32 m62_state::screen_update_kidniki(screen_device &screen, bitmap_ind16 &bit
m_fg_tilemap->set_transparent_pen(0);
m_bg_tilemap->draw(bitmap, cliprect, TILEMAP_DRAW_LAYER1, 0);
- draw_sprites(screen.machine(), bitmap, cliprect, 0x1f, 0x00, 0x00);
+ draw_sprites(machine(), bitmap, cliprect, 0x1f, 0x00, 0x00);
m_bg_tilemap->draw(bitmap, cliprect, TILEMAP_DRAW_LAYER0, 0);
m_fg_tilemap->draw(bitmap, cliprect, 0, 0);
return 0;
@@ -807,7 +807,7 @@ UINT32 m62_state::screen_update_spelunkr(screen_device &screen, bitmap_ind16 &bi
m_fg_tilemap->set_transparent_pen(0);
m_bg_tilemap->draw(bitmap, cliprect, 0, 0);
- draw_sprites(screen.machine(), bitmap, cliprect, 0x1f, 0x00, 0x00);
+ draw_sprites(machine(), bitmap, cliprect, 0x1f, 0x00, 0x00);
m_fg_tilemap->draw(bitmap, cliprect, 0, 0);
return 0;
}
@@ -849,7 +849,7 @@ UINT32 m62_state::screen_update_spelunk2(screen_device &screen, bitmap_ind16 &bi
m_fg_tilemap->set_transparent_pen(0);
m_bg_tilemap->draw(bitmap, cliprect, 0, 0);
- draw_sprites(screen.machine(), bitmap, cliprect, 0x1f, 0x00, 0x00);
+ draw_sprites(machine(), bitmap, cliprect, 0x1f, 0x00, 0x00);
m_fg_tilemap->draw(bitmap, cliprect, 0, 0);
return 0;
}
@@ -893,7 +893,7 @@ UINT32 m62_state::screen_update_youjyudn(screen_device &screen, bitmap_ind16 &bi
m_fg_tilemap->set_transparent_pen(0);
m_bg_tilemap->draw(bitmap, cliprect, TILEMAP_DRAW_LAYER1, 0);
- draw_sprites(screen.machine(), bitmap, cliprect, 0x1f, 0x00, 0x00);
+ draw_sprites(machine(), bitmap, cliprect, 0x1f, 0x00, 0x00);
m_bg_tilemap->draw(bitmap, cliprect, TILEMAP_DRAW_LAYER0, 0);
m_fg_tilemap->draw(bitmap, cliprect, 0, 0);
return 0;
@@ -934,7 +934,7 @@ UINT32 m62_state::screen_update_horizon(screen_device &screen, bitmap_ind16 &bit
m_bg_tilemap->set_scrollx(i, m_scrollram[i << 1] | (m_scrollram[(i << 1) | 1] << 8));
}
m_bg_tilemap->draw(bitmap, cliprect, TILEMAP_DRAW_LAYER1, 0);
- draw_sprites(screen.machine(), bitmap, cliprect, 0x1f, 0x00, 0x00);
+ draw_sprites(machine(), bitmap, cliprect, 0x1f, 0x00, 0x00);
m_bg_tilemap->draw(bitmap, cliprect, TILEMAP_DRAW_LAYER0, 0);
return 0;
}