summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/homerun.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/homerun.c')
-rw-r--r--src/mame/video/homerun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/video/homerun.c b/src/mame/video/homerun.c
index 0640b565dde..aaf0924d258 100644
--- a/src/mame/video/homerun.c
+++ b/src/mame/video/homerun.c
@@ -7,7 +7,7 @@
WRITE8_DEVICE_HANDLER(homerun_banking_w)
{
homerun_state *state = (homerun_state *)device->machine->driver_data;
- if (video_screen_get_vpos(device->machine->primary_screen) > half_screen)
+ if (device->machine->primary_screen->vpos() > half_screen)
state->gc_down = data & 3;
else
state->gc_up = data & 3;