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, 4 insertions, 5 deletions
diff --git a/src/devices/bus/neogeo/sma.cpp b/src/devices/bus/neogeo/sma.cpp
index ee031e4f44f..70b03aa0a28 100644
--- a/src/devices/bus/neogeo/sma.cpp
+++ b/src/devices/bus/neogeo/sma.cpp
@@ -55,11 +55,10 @@ void neogeo_sma_cart_device::device_reset()
mapper specific handlers
-------------------------------------------------*/
-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);
-}
+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
/*************************************************