summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/bml3.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/bml3.cpp')
-rw-r--r--src/mame/drivers/bml3.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/bml3.cpp b/src/mame/drivers/bml3.cpp
index e3a01365976..b5d92340ccd 100644
--- a/src/mame/drivers/bml3.cpp
+++ b/src/mame/drivers/bml3.cpp
@@ -999,8 +999,8 @@ MACHINE_CONFIG_START(bml3_state::bml3_common)
MCFG_TIMER_DRIVER_ADD_PERIODIC("bml3_c", bml3_state, bml3_c, attotime::from_hz(4800))
MCFG_TIMER_DRIVER_ADD_PERIODIC("bml3_p", bml3_state, bml3_p, attotime::from_hz(40000))
- MCFG_DEVICE_ADD("pia", PIA6821, 0)
- MCFG_PIA_WRITEPA_HANDLER(WRITE8(*this, bml3_state, bml3_piaA_w))
+ pia6821_device &pia(PIA6821(config, "pia", 0));
+ pia.writepa_handler().set(FUNC(bml3_state::bml3_piaA_w));
MCFG_DEVICE_ADD("acia", ACIA6850, 0)
MCFG_ACIA6850_TXD_HANDLER(WRITELINE(*this, bml3_state, bml3_acia_tx_w))