summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/homerun.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/homerun.c')
-rw-r--r--src/mame/drivers/homerun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/homerun.c b/src/mame/drivers/homerun.c
index 83e8a6f93da..82263de3503 100644
--- a/src/mame/drivers/homerun.c
+++ b/src/mame/drivers/homerun.c
@@ -64,7 +64,7 @@ ADDRESS_MAP_END
static CUSTOM_INPUT( homerun_40_r )
{
- UINT8 ret = (video_screen_get_vpos(field->port->machine->primary_screen) > 116) ? 1 : 0;
+ UINT8 ret = (field->port->machine->primary_screen->vpos() > 116) ? 1 : 0;
return ret;
}