summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/lsasquad.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/lsasquad.c')
-rw-r--r--src/mame/machine/lsasquad.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/machine/lsasquad.c b/src/mame/machine/lsasquad.c
index 8170e83878c..32e81324874 100644
--- a/src/mame/machine/lsasquad.c
+++ b/src/mame/machine/lsasquad.c
@@ -181,7 +181,7 @@ READ8_MEMBER(lsasquad_state::lsasquad_mcu_r)
READ8_MEMBER(lsasquad_state::lsasquad_mcu_status_r)
{
- int res = input_port_read(machine(), "MCU");
+ int res = ioport("MCU")->read();
/* bit 0 = when 1, mcu is ready to receive data from main cpu */
/* bit 1 = when 0, mcu has sent data to the main cpu */
@@ -196,7 +196,7 @@ READ8_MEMBER(lsasquad_state::lsasquad_mcu_status_r)
READ8_MEMBER(lsasquad_state::daikaiju_mcu_status_r)
{
- int res = input_port_read(machine(), "MCU");
+ int res = ioport("MCU")->read();
/* bit 0 = when 1, mcu is ready to receive data from main cpu */
/* bit 1 = when 0, mcu has sent data to the main cpu */