summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/a2bus/a2thunderclock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/a2bus/a2thunderclock.cpp')
-rw-r--r--src/devices/bus/a2bus/a2thunderclock.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/devices/bus/a2bus/a2thunderclock.cpp b/src/devices/bus/a2bus/a2thunderclock.cpp
index dfa54932f5a..69cc87a07ff 100644
--- a/src/devices/bus/a2bus/a2thunderclock.cpp
+++ b/src/devices/bus/a2bus/a2thunderclock.cpp
@@ -54,9 +54,11 @@ ROM_END
// device_add_mconfig - add device configuration
//-------------------------------------------------
-MACHINE_CONFIG_START(a2bus_thunderclock_device::device_add_mconfig)
- MCFG_UPD1990A_ADD(THUNDERCLOCK_UPD1990_TAG, 1021800, WRITELINE(DEVICE_SELF, a2bus_thunderclock_device, upd_dataout_w), NOOP)
-MACHINE_CONFIG_END
+void a2bus_thunderclock_device::device_add_mconfig(machine_config &config)
+{
+ UPD1990A(config, m_upd1990ac, 1021800);
+ m_upd1990ac->data_callback().set(FUNC(a2bus_thunderclock_device::upd_dataout_w));
+}
//-------------------------------------------------
// rom_region - device-specific ROM region