summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/cpc/cpc_pds.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/cpc/cpc_pds.cpp')
-rw-r--r--src/devices/bus/cpc/cpc_pds.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/devices/bus/cpc/cpc_pds.cpp b/src/devices/bus/cpc/cpc_pds.cpp
index bc170675a51..c1000939152 100644
--- a/src/devices/bus/cpc/cpc_pds.cpp
+++ b/src/devices/bus/cpc/cpc_pds.cpp
@@ -17,11 +17,12 @@
DEFINE_DEVICE_TYPE(CPC_PDS, cpc_pds_device, "cpc_pds", "Programmers Development System (CPC Target)")
-MACHINE_CONFIG_START(cpc_pds_device::device_add_mconfig)
- MCFG_DEVICE_ADD("pio", Z80PIO, XTAL(4'000'000)) // no clock on the PCB, so will presume that it uses the CPC's clock
+void cpc_pds_device::device_add_mconfig(machine_config &config)
+{
+ Z80PIO(config, m_pio, XTAL(4'000'000)); // no clock on the PCB, so will presume that it uses the CPC's clock
// no pass-through seen on remake PCBs, unknown if actual hardware had a pass-through port or not
-MACHINE_CONFIG_END
+}
//**************************************************************************