summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/galastrm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/galastrm.c')
-rw-r--r--src/mame/drivers/galastrm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/galastrm.c b/src/mame/drivers/galastrm.c
index 094563eda17..c8ddd82a29a 100644
--- a/src/mame/drivers/galastrm.c
+++ b/src/mame/drivers/galastrm.c
@@ -150,9 +150,9 @@ READ32_MEMBER(galastrm_state::galastrm_adstick_ctrl_r)
if (offset == 0x00)
{
if (ACCESSING_BITS_24_31)
- return input_port_read(machine(), "STICKX") << 24;
+ return ioport("STICKX")->read() << 24;
if (ACCESSING_BITS_16_23)
- return input_port_read(machine(), "STICKY") << 16;
+ return ioport("STICKY")->read() << 16;
}
return 0;
}