summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/kongambl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/kongambl.c')
-rw-r--r--src/mame/drivers/kongambl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/kongambl.c b/src/mame/drivers/kongambl.c
index 6cb1efa5389..4f884cf64d5 100644
--- a/src/mame/drivers/kongambl.c
+++ b/src/mame/drivers/kongambl.c
@@ -59,7 +59,7 @@ READ32_MEMBER(kongambl_state::eeprom_r)
{
if (ACCESSING_BITS_0_7)
{
- UINT32 rv = input_port_read(machine(), "SYSTEM") & ~0x1;
+ UINT32 rv = ioport("SYSTEM")->read() & ~0x1;
return rv; // bit 0 freezes the game if 1
}
@@ -71,7 +71,7 @@ WRITE32_MEMBER(kongambl_state::eeprom_w)
{
if (ACCESSING_BITS_8_15)
{
- input_port_write(machine(), "EEPROMOUT", (data>>8)&0xf, 0xff);
+ ioport("EEPROMOUT")->write((data>>8)&0xf, 0xff);
}
}