summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/wangpc/mcc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/wangpc/mcc.cpp')
-rw-r--r--src/devices/bus/wangpc/mcc.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/devices/bus/wangpc/mcc.cpp b/src/devices/bus/wangpc/mcc.cpp
index 4babd0c14cf..d5c8bf4b941 100644
--- a/src/devices/bus/wangpc/mcc.cpp
+++ b/src/devices/bus/wangpc/mcc.cpp
@@ -55,10 +55,11 @@ DEFINE_DEVICE_TYPE(WANGPC_MCC, wangpc_mcc_device, "wangpc_mcc", "Wang PC-PM043 M
// MACHINE_CONFIG_START( wangpc_mcc )
//-------------------------------------------------
-MACHINE_CONFIG_START(wangpc_mcc_device::device_add_mconfig)
- MCFG_DEVICE_ADD(Z80SIO2_TAG, Z80SIO2, 4000000)
- MCFG_DEVICE_ADD(Z80DART_TAG, Z80DART, 4000000)
-MACHINE_CONFIG_END
+void wangpc_mcc_device::device_add_mconfig(machine_config &config)
+{
+ Z80SIO2(config, m_sio, 4000000);
+ Z80DART(config, m_dart, 4000000);
+}