summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/neogeo/sma.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/neogeo/sma.cpp')
-rw-r--r--src/devices/bus/neogeo/sma.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/devices/bus/neogeo/sma.cpp b/src/devices/bus/neogeo/sma.cpp
index 70b03aa0a28..ee031e4f44f 100644
--- a/src/devices/bus/neogeo/sma.cpp
+++ b/src/devices/bus/neogeo/sma.cpp
@@ -55,10 +55,11 @@ void neogeo_sma_cart_device::device_reset()
mapper specific handlers
-------------------------------------------------*/
-MACHINE_CONFIG_START(neogeo_sma_cart_device::device_add_mconfig)
- MCFG_SMA_PROT_ADD("sma_prot")
- MCFG_CMC_PROT_ADD("cmc_prot")
-MACHINE_CONFIG_END
+void neogeo_sma_cart_device::device_add_mconfig(machine_config &config)
+{
+ NG_SMA_PROT(config, m_sma_prot);
+ NG_CMC_PROT(config, m_cmc_prot);
+}
/*************************************************