summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/24cdjuke.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/24cdjuke.cpp')
-rw-r--r--src/mame/drivers/24cdjuke.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/24cdjuke.cpp b/src/mame/drivers/24cdjuke.cpp
index b75e5c7ec75..e559e700e18 100644
--- a/src/mame/drivers/24cdjuke.cpp
+++ b/src/mame/drivers/24cdjuke.cpp
@@ -302,9 +302,9 @@ MACHINE_CONFIG_START(midcoin24cdjuke_state::midcoin24cdjuke)
MCFG_I8255_IN_PORTC_CB(READ8(*this, midcoin24cdjuke_state, kb_row_r))
MCFG_I8255_OUT_PORTC_CB(WRITE8(*this, midcoin24cdjuke_state, kb_col_w))
- MCFG_DEVICE_ADD("ic31", I8255A, 0)
- MCFG_I8255_OUT_PORTB_CB(LOGGER("PPI8255 - unmapped write port B"))
- MCFG_I8255_IN_PORTC_CB(IOPORT("MD4"))
+ i8255_device &ic32(I8255A(config, "ic31", 0));
+ ic32.out_pb_callback().set_log("PPI8255 - unmapped write port B");
+ ic32.in_pc_callback().set_ioport("MD4");
MACHINE_CONFIG_END