summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/neogeo/cmc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/neogeo/cmc.cpp')
-rw-r--r--src/devices/bus/neogeo/cmc.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/devices/bus/neogeo/cmc.cpp b/src/devices/bus/neogeo/cmc.cpp
index a6e6265c12f..d1fb1b699f8 100644
--- a/src/devices/bus/neogeo/cmc.cpp
+++ b/src/devices/bus/neogeo/cmc.cpp
@@ -44,9 +44,10 @@ void neogeo_cmc_cart_device::device_reset()
}
-MACHINE_CONFIG_START(neogeo_cmc_cart_device::device_add_mconfig)
- MCFG_CMC_PROT_ADD("cmc_prot")
-MACHINE_CONFIG_END
+void neogeo_cmc_cart_device::device_add_mconfig(machine_config &config)
+{
+ NG_CMC_PROT(config, m_prot);
+}
/*************************************************