summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/etc/template_device.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/etc/template_device.cpp')
-rw-r--r--src/mame/etc/template_device.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mame/etc/template_device.cpp b/src/mame/etc/template_device.cpp
index d1adea3448b..21226b79b1b 100644
--- a/src/mame/etc/template_device.cpp
+++ b/src/mame/etc/template_device.cpp
@@ -40,9 +40,10 @@ xxx_device::xxx_device(const machine_config &mconfig, const char *tag, device_t
// configuration addiitons
//-------------------------------------------------
-MACHINE_CONFIG_START(xxx_device::device_add_mconfig)
- //MCFG_DEVICE_ADD(...)
-MACHINE_CONFIG_END
+void xxx_device::device_add_mconfig(machine_config &config)
+{
+ //DEVICE(config, ...);
+}
//-------------------------------------------------