summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/neogeo/boot_svc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/neogeo/boot_svc.cpp')
-rw-r--r--src/devices/bus/neogeo/boot_svc.cpp18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/devices/bus/neogeo/boot_svc.cpp b/src/devices/bus/neogeo/boot_svc.cpp
index dac4a8aedad..aac306be5ce 100644
--- a/src/devices/bus/neogeo/boot_svc.cpp
+++ b/src/devices/bus/neogeo/boot_svc.cpp
@@ -30,10 +30,11 @@ void neogeo_svcboot_cart_device::decrypt_all(DECRYPT_ALL_PARAMS)
m_prot->svcboot_cx_decrypt(spr_region, spr_region_size);
}
-MACHINE_CONFIG_START(neogeo_svcboot_cart_device::device_add_mconfig)
- MCFG_NEOBOOT_PROT_ADD("bootleg_prot")
- MCFG_PVC_PROT_ADD("pvc_prot")
-MACHINE_CONFIG_END
+void neogeo_svcboot_cart_device::device_add_mconfig(machine_config &config)
+{
+ NEOBOOT_PROT(config, m_prot);
+ NG_PVC_PROT(config, m_pvc_prot);
+}
/*************************************************
@@ -96,7 +97,8 @@ void neogeo_svcsplus_cart_device::decrypt_all(DECRYPT_ALL_PARAMS)
}
-MACHINE_CONFIG_START(neogeo_svcsplus_cart_device::device_add_mconfig)
- MCFG_NEOBOOT_PROT_ADD("bootleg_prot")
- MCFG_PVC_PROT_ADD("pvc_prot")
-MACHINE_CONFIG_END
+void neogeo_svcsplus_cart_device::device_add_mconfig(machine_config &config)
+{
+ NEOBOOT_PROT(config, m_prot);
+ NG_PVC_PROT(config, m_pvc_prot);
+}