From a1b571fd37a9928c5919addd63b489053e78b452 Mon Sep 17 00:00:00 2001 From: Ivan Vangelista Date: Tue, 23 Oct 2018 18:14:42 +0200 Subject: [PATCH] abc80x.cpp: fixed copy-paste error. Thanks Tafoid! (nw) --- src/mame/drivers/abc80x.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/mame/drivers/abc80x.cpp b/src/mame/drivers/abc80x.cpp index 385af11840e..3268be79bc1 100644 --- a/src/mame/drivers/abc80x.cpp +++ b/src/mame/drivers/abc80x.cpp @@ -1088,14 +1088,14 @@ MACHINE_CONFIG_START(abc800_state::common) MCFG_TIMER_DRIVER_ADD_PERIODIC(TIMER_CASSETTE_TAG, abc800_state, cassette_input_tick, attotime::from_hz(44100)) rs232_port_device &rs232a(RS232_PORT(config, RS232_A_TAG, default_rs232_devices, nullptr)); - rs232a.rxd_handler().set(m_sio, FUNC(z80dart_device::rxa_w)); - rs232a.dcd_handler().set(m_sio, FUNC(z80dart_device::dcda_w)); - rs232a.cts_handler().set(m_sio, FUNC(z80dart_device::ctsa_w)); + rs232a.rxd_handler().set(m_dart, FUNC(z80dart_device::rxa_w)); + rs232a.dcd_handler().set(m_dart, FUNC(z80dart_device::dcda_w)); + rs232a.cts_handler().set(m_dart, FUNC(z80dart_device::ctsa_w)); rs232_port_device &rs232b(RS232_PORT(config, RS232_B_TAG, default_rs232_devices, nullptr)); - rs232b.rxd_handler().set(m_sio, FUNC(z80dart_device::rxa_w)); - rs232b.dcd_handler().set(m_sio, FUNC(z80dart_device::dcda_w)); - rs232b.cts_handler().set(m_sio, FUNC(z80dart_device::ctsa_w)); + rs232b.rxd_handler().set(m_sio, FUNC(z80sio_device::rxa_w)); + rs232b.dcd_handler().set(m_sio, FUNC(z80sio_device::dcda_w)); + rs232b.cts_handler().set(m_sio, FUNC(z80sio_device::ctsa_w)); MCFG_ABC_KEYBOARD_PORT_ADD(ABC_KEYBOARD_PORT_TAG, nullptr) MCFG_ABC_KEYBOARD_OUT_RX_HANDLER(WRITELINE(m_dart, z80dart_device, rxb_w))