summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/neogeo/boot_kof2k3.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/neogeo/boot_kof2k3.cpp')
-rw-r--r--src/devices/bus/neogeo/boot_kof2k3.cpp43
1 files changed, 23 insertions, 20 deletions
diff --git a/src/devices/bus/neogeo/boot_kof2k3.cpp b/src/devices/bus/neogeo/boot_kof2k3.cpp
index 2c0f4f375a3..172a0ad56db 100644
--- a/src/devices/bus/neogeo/boot_kof2k3.cpp
+++ b/src/devices/bus/neogeo/boot_kof2k3.cpp
@@ -12,26 +12,29 @@
#include "boot_kof2k3.h"
-MACHINE_CONFIG_START(neogeo_kf2k3bl_cart_device::device_add_mconfig)
- MCFG_NEOBOOT_PROT_ADD("bootleg_prot")
- MCFG_CMC_PROT_ADD("cmc_prot")
- MCFG_PCM2_PROT_ADD("pcm2_prot")
- MCFG_KOF2K3BL_PROT_ADD("kof2k3bl_prot")
-MACHINE_CONFIG_END
-
-MACHINE_CONFIG_START(neogeo_kf2k3pl_cart_device::device_add_mconfig)
- MCFG_NEOBOOT_PROT_ADD("bootleg_prot")
- MCFG_CMC_PROT_ADD("cmc_prot")
- MCFG_PCM2_PROT_ADD("pcm2_prot")
- MCFG_KOF2K3BL_PROT_ADD("kof2k3bl_prot")
-MACHINE_CONFIG_END
-
-MACHINE_CONFIG_START(neogeo_kf2k3upl_cart_device::device_add_mconfig)
- MCFG_NEOBOOT_PROT_ADD("bootleg_prot")
- MCFG_CMC_PROT_ADD("cmc_prot")
- MCFG_PCM2_PROT_ADD("pcm2_prot")
- MCFG_KOF2K3BL_PROT_ADD("kof2k3bl_prot")
-MACHINE_CONFIG_END
+void neogeo_kf2k3bl_cart_device::device_add_mconfig(machine_config &config)
+{
+ NEOBOOT_PROT(config, m_prot);
+ NG_CMC_PROT(config, m_cmc_prot);
+ NG_PCM2_PROT(config, m_pcm2_prot);
+ NG_KOF2K3BL_PROT(config, m_kof2k3bl_prot);
+}
+
+void neogeo_kf2k3pl_cart_device::device_add_mconfig(machine_config &config)
+{
+ NEOBOOT_PROT(config, m_prot);
+ NG_CMC_PROT(config, m_cmc_prot);
+ NG_PCM2_PROT(config, m_pcm2_prot);
+ NG_KOF2K3BL_PROT(config, m_kof2k3bl_prot);
+}
+
+void neogeo_kf2k3upl_cart_device::device_add_mconfig(machine_config &config)
+{
+ NEOBOOT_PROT(config, m_prot);
+ NG_CMC_PROT(config, m_cmc_prot);
+ NG_PCM2_PROT(config, m_pcm2_prot);
+ NG_KOF2K3BL_PROT(config, m_kof2k3bl_prot);
+}
/*************************************************
kf2k3bl