summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/victory.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/victory.c')
-rw-r--r--src/mame/video/victory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/victory.c b/src/mame/video/victory.c
index e354061da59..11e34b50f8e 100644
--- a/src/mame/video/victory.c
+++ b/src/mame/video/victory.c
@@ -197,7 +197,7 @@ READ8_HANDLER( victory_video_control_r )
result |= (~fgcoll & 1) << 6;
result |= (~vblank_irq & 1) << 5;
result |= (~bgcoll & 1) << 4;
- result |= (video_screen_get_vpos(space->machine->primary_screen) & 0x100) >> 5;
+ result |= (space->machine->primary_screen->vpos() & 0x100) >> 5;
if (LOG_COLLISION) logerror("%04X:5STAT read = %02X\n", cpu_get_previouspc(space->cpu), result);
return result;
@@ -1125,7 +1125,7 @@ VIDEO_UPDATE( victory )
int bpix = bg[(x + scrollx) & 255];
scanline[x] = bpix | (fpix << 3);
if (fpix && (bpix & bgcollmask) && count++ < 128)
- timer_set(screen->machine, video_screen_get_time_until_pos(screen, y, x), NULL, x | (y << 8), bgcoll_irq_callback);
+ timer_set(screen->machine, screen->time_until_pos(y, x), NULL, x | (y << 8), bgcoll_irq_callback);
}
}