summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/scramble.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/scramble.c')
-rw-r--r--src/mame/machine/scramble.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/machine/scramble.c b/src/mame/machine/scramble.c
index d1b02850a3f..6b6940f7ee2 100644
--- a/src/mame/machine/scramble.c
+++ b/src/mame/machine/scramble.c
@@ -43,7 +43,7 @@ CUSTOM_INPUT_MEMBER(scramble_state::darkplnt_custom_r)
0x2b, 0x2a, 0x28, 0x29, 0x09, 0x08, 0x0a, 0x0b,
0x0f, 0x0e, 0x0c, 0x0d, 0x2d, 0x2c, 0x2e, 0x2f,
0x27, 0x26, 0x24, 0x25, 0x05, 0x04, 0x06, 0x07 };
- UINT8 val = input_port_read(machine(), (const char *)param);
+ UINT8 val = ioport((const char *)param)->read();
return remap[val >> 2];
}