summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/neogeo/pvc.cpp
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2019-02-01 18:13:14 +0100
committer Ivan Vangelista <mesgnet@yahoo.it>2019-02-01 18:13:14 +0100
commit7918b8068c8ea1b16fa223061c7c761bb5893537 (patch)
tree453f60840d893d6afa58842842ce41bb5de4d9b1 /src/devices/bus/neogeo/pvc.cpp
parent5bb63697f066a04c3072f6e4bed52a5bb446d7c8 (diff)
devices\bus: some more MCFG macros removal (nw)
Diffstat (limited to 'src/devices/bus/neogeo/pvc.cpp')
-rw-r--r--src/devices/bus/neogeo/pvc.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/devices/bus/neogeo/pvc.cpp b/src/devices/bus/neogeo/pvc.cpp
index bb9d0098159..26987ab33dc 100644
--- a/src/devices/bus/neogeo/pvc.cpp
+++ b/src/devices/bus/neogeo/pvc.cpp
@@ -50,11 +50,12 @@ void neogeo_pvc_cart_device::device_reset()
mapper specific handlers
-------------------------------------------------*/
-MACHINE_CONFIG_START(neogeo_pvc_cart_device::device_add_mconfig)
- MCFG_CMC_PROT_ADD("cmc_prot")
- MCFG_PCM2_PROT_ADD("pcm2_prot")
- MCFG_PVC_PROT_ADD("pvc_prot")
-MACHINE_CONFIG_END
+void neogeo_pvc_cart_device::device_add_mconfig(machine_config &config)
+{
+ NG_CMC_PROT(config, m_cmc_prot);
+ NG_PCM2_PROT(config, m_pcm2_prot);
+ NG_PVC_PROT(config, m_pvc_prot);
+}
/*************************************************