summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/pcecommn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/pcecommn.c')
-rw-r--r--src/mame/machine/pcecommn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/machine/pcecommn.c b/src/mame/machine/pcecommn.c
index a7a9ed42684..d58163f0bbd 100644
--- a/src/mame/machine/pcecommn.c
+++ b/src/mame/machine/pcecommn.c
@@ -57,7 +57,7 @@ READ8_HANDLER ( pce_joystick_r )
}
else
{
- data = input_port_read_indexed(machine, 0);
+ data = input_port_read(machine, "JOY");
}
if(joystick_data_select) data >>= 4;
ret = (data & 0x0F) | pce.io_port_options;