summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/groundfx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/groundfx.c')
-rw-r--r--src/mame/drivers/groundfx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/groundfx.c b/src/mame/drivers/groundfx.c
index b976db6d9e1..00100d6053f 100644
--- a/src/mame/drivers/groundfx.c
+++ b/src/mame/drivers/groundfx.c
@@ -146,7 +146,7 @@ WRITE32_MEMBER(groundfx_state::groundfx_input_w)
if (ACCESSING_BITS_0_7)
{
- input_port_write(machine(), "EEPROMOUT", data, 0xff);
+ ioport("EEPROMOUT")->write(data, 0xff);
}
break;
@@ -166,7 +166,7 @@ WRITE32_MEMBER(groundfx_state::groundfx_input_w)
READ32_MEMBER(groundfx_state::groundfx_adc_r)
{
- return (input_port_read(machine(), "AN0") << 8) | input_port_read(machine(), "AN1");
+ return (ioport("AN0")->read() << 8) | ioport("AN1")->read();
}
WRITE32_MEMBER(groundfx_state::groundfx_adc_w)