diff options
Diffstat (limited to 'src/devices/bus/neogeo/boot_kof2k2.cpp')
-rw-r--r-- | src/devices/bus/neogeo/boot_kof2k2.cpp | 39 |
1 files changed, 21 insertions, 18 deletions
diff --git a/src/devices/bus/neogeo/boot_kof2k2.cpp b/src/devices/bus/neogeo/boot_kof2k2.cpp index 611ff47a382..8bbf3ab0962 100644 --- a/src/devices/bus/neogeo/boot_kof2k2.cpp +++ b/src/devices/bus/neogeo/boot_kof2k2.cpp @@ -12,24 +12,27 @@ #include "boot_kof2k2.h" -MACHINE_CONFIG_START(neogeo_kof2002b_cart_device::device_add_mconfig) - MCFG_NEOBOOT_PROT_ADD("bootleg_prot") - MCFG_CMC_PROT_ADD("cmc_prot") - MCFG_PCM2_PROT_ADD("pcm2_prot") - MCFG_KOF2002_PROT_ADD("kof2k2_prot") -MACHINE_CONFIG_END - -MACHINE_CONFIG_START(neogeo_kf2k2mp_cart_device::device_add_mconfig) - MCFG_NEOBOOT_PROT_ADD("bootleg_prot") - MCFG_CMC_PROT_ADD("cmc_prot") - MCFG_PCM2_PROT_ADD("pcm2_prot") -MACHINE_CONFIG_END - -MACHINE_CONFIG_START(neogeo_kf2k2mp2_cart_device::device_add_mconfig) - MCFG_NEOBOOT_PROT_ADD("bootleg_prot") - MCFG_CMC_PROT_ADD("cmc_prot") - MCFG_PCM2_PROT_ADD("pcm2_prot") -MACHINE_CONFIG_END +void neogeo_kof2002b_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_KOF2002_PROT(config, m_kof2k2_prot); +} + +void neogeo_kf2k2mp_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); +} + +void neogeo_kf2k2mp2_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); +} /************************************************* kof2002b |