diff options
Diffstat (limited to 'src/mame/drivers/eolith16.c')
-rw-r--r-- | src/mame/drivers/eolith16.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/eolith16.c b/src/mame/drivers/eolith16.c index 812eafb67bd..54826bb0602 100644 --- a/src/mame/drivers/eolith16.c +++ b/src/mame/drivers/eolith16.c @@ -51,7 +51,7 @@ WRITE16_MEMBER(eolith16_state::eeprom_w) m_vbuffer = (data & 0x80) >> 7; coin_counter_w(machine(), 0, data & 1); - input_port_write(machine(), "EEPROMOUT", data, 0xff); + ioport("EEPROMOUT")->write(data, 0xff); //data & 0x100 and data & 0x004 always set } @@ -59,7 +59,7 @@ WRITE16_MEMBER(eolith16_state::eeprom_w) READ16_MEMBER(eolith16_state::eolith16_custom_r) { eolith_speedup_read(&space); - return input_port_read(machine(), "SPECIAL"); + return ioport("SPECIAL")->read(); } |