summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/coco/coco_t4426.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/coco/coco_t4426.cpp')
-rw-r--r--src/devices/bus/coco/coco_t4426.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/coco/coco_t4426.cpp b/src/devices/bus/coco/coco_t4426.cpp
index 988ddd0233a..be0b28e5a5b 100644
--- a/src/devices/bus/coco/coco_t4426.cpp
+++ b/src/devices/bus/coco/coco_t4426.cpp
@@ -149,8 +149,8 @@ namespace
***************************************************************************/
MACHINE_CONFIG_START(coco_t4426_device::device_add_mconfig)
- MCFG_DEVICE_ADD(PIA_TAG, PIA6821, 0)
- MCFG_PIA_WRITEPA_HANDLER(WRITE8(*this, coco_t4426_device, pia_A_w))
+ PIA6821(config, m_pia, 0);
+ m_pia->writepa_handler().set(FUNC(coco_t4426_device::pia_A_w));
MCFG_DEVICE_ADD(UART_TAG, ACIA6850, 0)
MCFG_ACIA6850_TXD_HANDLER(WRITELINE(SERIAL_TAG, rs232_port_device, write_txd))