diff options
Diffstat (limited to 'src/mame/machine/starwars.c')
-rw-r--r-- | src/mame/machine/starwars.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/machine/starwars.c b/src/mame/machine/starwars.c index 987cd0f377a..bdfcc08989a 100644 --- a/src/mame/machine/starwars.c +++ b/src/mame/machine/starwars.c @@ -125,11 +125,11 @@ READ8_MEMBER(starwars_state::starwars_adc_r) { /* pitch */ if (m_control_num == kPitch) - return input_port_read(machine(), "STICKY"); + return ioport("STICKY")->read(); /* yaw */ else if (m_control_num == kYaw) - return input_port_read(machine(), "STICKX"); + return ioport("STICKX")->read(); /* default to unused thrust */ else |