summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/midwunit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/midwunit.cpp')
-rw-r--r--src/mame/drivers/midwunit.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mame/drivers/midwunit.cpp b/src/mame/drivers/midwunit.cpp
index 1036bac056f..aa8bf529f55 100644
--- a/src/mame/drivers/midwunit.cpp
+++ b/src/mame/drivers/midwunit.cpp
@@ -650,13 +650,15 @@ MACHINE_CONFIG_START(midwunit_state::wunit)
MCFG_DEVICE_ADD("dcs", DCS_AUDIO_8K, 0)
MACHINE_CONFIG_END
-MACHINE_CONFIG_DERIVED(midwunit_state::wunit_picsim, wunit)
+MACHINE_CONFIG_START(midwunit_state::wunit_picsim)
+ wunit(config);
MCFG_DEVICE_ADD("serial_security_sim", MIDWAY_SERIAL_PIC, 0)
MCFG_MIDWAY_SERIAL_PIC_UPPER(528); // this is actually a generic code all games check for in addition to their own game specific code!
MACHINE_CONFIG_END
-MACHINE_CONFIG_DERIVED(midwunit_state::wunit_picemu, wunit)
+MACHINE_CONFIG_START(midwunit_state::wunit_picemu)
+ wunit(config);
MCFG_DEVICE_ADD("serial_security", MIDWAY_SERIAL_PIC_EMU, 0)
// todo, REMOVE once the emulated PIC above works!