summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/neogeo/boot_cthd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/neogeo/boot_cthd.cpp')
-rw-r--r--src/devices/bus/neogeo/boot_cthd.cpp18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/devices/bus/neogeo/boot_cthd.cpp b/src/devices/bus/neogeo/boot_cthd.cpp
index 2f6659fddbe..70c4d891ad5 100644
--- a/src/devices/bus/neogeo/boot_cthd.cpp
+++ b/src/devices/bus/neogeo/boot_cthd.cpp
@@ -48,9 +48,10 @@ void neogeo_cthd2k3_cart_device::device_reset()
mapper specific handlers
-------------------------------------------------*/
-MACHINE_CONFIG_START(neogeo_cthd2k3_cart_device::device_add_mconfig)
- MCFG_CTHD_PROT_ADD("cthd_prot")
-MACHINE_CONFIG_END
+void neogeo_cthd2k3_cart_device::device_add_mconfig(machine_config &config)
+{
+ NG_CTHD_PROT(config, m_prot);
+}
/*************************************************
@@ -122,8 +123,9 @@ void neogeo_matrimbl_cart_device::decrypt_all(DECRYPT_ALL_PARAMS)
}
- MACHINE_CONFIG_START(neogeo_matrimbl_cart_device::device_add_mconfig)
- MCFG_KOF2002_PROT_ADD("kof2k2_prot")
- MCFG_CMC_PROT_ADD("cmc_prot")
- MCFG_CTHD_PROT_ADD("cthd_prot")
-MACHINE_CONFIG_END
+void neogeo_matrimbl_cart_device::device_add_mconfig(machine_config &config)
+{
+ NG_KOF2002_PROT(config, m_kof2k2_prot);
+ NG_CMC_PROT(config, m_cmc_prot);
+ NG_CTHD_PROT(config, m_prot);
+}