summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/sprint8.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/sprint8.c')
-rw-r--r--src/mame/video/sprint8.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/video/sprint8.c b/src/mame/video/sprint8.c
index 7d826305695..5e06e1a3fbe 100644
--- a/src/mame/video/sprint8.c
+++ b/src/mame/video/sprint8.c
@@ -156,9 +156,9 @@ static TIMER_CALLBACK( sprint8_collision_callback )
UINT32 sprint8_state::screen_update_sprint8(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
- set_pens(this, screen.machine().colortable);
+ set_pens(this, machine().colortable);
m_tilemap1->draw(bitmap, cliprect, 0, 0);
- draw_sprites(screen.machine(), bitmap, cliprect);
+ draw_sprites(machine(), bitmap, cliprect);
return 0;
}
@@ -170,13 +170,13 @@ void sprint8_state::screen_eof_sprint8(screen_device &screen, bool state)
{
int x;
int y;
- const rectangle &visarea = screen.machine().primary_screen->visible_area();
+ const rectangle &visarea = machine().primary_screen->visible_area();
m_tilemap2->draw(m_helper2, visarea, 0, 0);
m_helper1.fill(0x20, visarea);
- draw_sprites(screen.machine(), m_helper1, visarea);
+ draw_sprites(machine(), m_helper1, visarea);
for (y = visarea.min_y; y <= visarea.max_y; y++)
{
@@ -185,9 +185,9 @@ void sprint8_state::screen_eof_sprint8(screen_device &screen, bool state)
for (x = visarea.min_x; x <= visarea.max_x; x++)
if (p1[x] != 0x20 && p2[x] == 0x23)
- screen.machine().scheduler().timer_set(screen.machine().primary_screen->time_until_pos(y + 24, x),
+ machine().scheduler().timer_set(machine().primary_screen->time_until_pos(y + 24, x),
FUNC(sprint8_collision_callback),
- colortable_entry_get_value(screen.machine().colortable, p1[x]));
+ colortable_entry_get_value(machine().colortable, p1[x]));
}
}
}