diff options
Diffstat (limited to 'src/mame/drivers/mccpm.cpp')
-rw-r--r-- | src/mame/drivers/mccpm.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/mccpm.cpp b/src/mame/drivers/mccpm.cpp index 49fb1a5e083..218a0f34a1d 100644 --- a/src/mame/drivers/mccpm.cpp +++ b/src/mame/drivers/mccpm.cpp @@ -87,9 +87,9 @@ MACHINE_CONFIG_START(mccpm_state::mccpm) MCFG_DEVICE_IO_MAP(mccpm_io) /* Devices */ - MCFG_DEVICE_ADD("uart_clock", CLOCK, 153600) - MCFG_CLOCK_SIGNAL_HANDLER(WRITELINE("sio", z80sio_device, txca_w)) - MCFG_DEVCB_CHAIN_OUTPUT(WRITELINE("sio", z80sio_device, rxca_w)) + clock_device &uart_clock(CLOCK(config, "uart_clock", 153600)); + uart_clock.signal_handler().set("sio", FUNC(z80sio_device::txca_w)); + uart_clock.signal_handler().append("sio", FUNC(z80sio_device::rxca_w)); MCFG_DEVICE_ADD("sio", Z80SIO, XTAL(4'000'000)) MCFG_Z80SIO_OUT_INT_CB(INPUTLINE("maincpu", INPUT_LINE_IRQ0)) |