summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/neogeo/pcm2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/neogeo/pcm2.cpp')
-rw-r--r--src/devices/bus/neogeo/pcm2.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/devices/bus/neogeo/pcm2.cpp b/src/devices/bus/neogeo/pcm2.cpp
index e098d796229..521c796d59a 100644
--- a/src/devices/bus/neogeo/pcm2.cpp
+++ b/src/devices/bus/neogeo/pcm2.cpp
@@ -49,10 +49,11 @@ void neogeo_pcm2_cart_device::device_reset()
mapper specific handlers
-------------------------------------------------*/
-MACHINE_CONFIG_START(neogeo_pcm2_cart_device::device_add_mconfig)
- MCFG_CMC_PROT_ADD("cmc_prot")
- MCFG_PCM2_PROT_ADD("pcm2_prot")
-MACHINE_CONFIG_END
+void neogeo_pcm2_cart_device::device_add_mconfig(machine_config &config)
+{
+ NG_CMC_PROT(config, m_cmc_prot);
+ NG_PCM2_PROT(config, m_pcm2_prot);
+}
/*************************************************