diff options
Diffstat (limited to 'src/devices/bus/snes/bsx.cpp')
-rw-r--r-- | src/devices/bus/snes/bsx.cpp | 32 |
1 files changed, 11 insertions, 21 deletions
diff --git a/src/devices/bus/snes/bsx.cpp b/src/devices/bus/snes/bsx.cpp index 0db57529bdb..0dafcaa52d1 100644 --- a/src/devices/bus/snes/bsx.cpp +++ b/src/devices/bus/snes/bsx.cpp @@ -233,38 +233,28 @@ void sns_rom_bsx_device::bsx_base::write(uint32_t offset, uint8_t data) } } -//------------------------------------------------- -// MACHINE_CONFIG_START( bs_slot ) -//------------------------------------------------- static SLOT_INTERFACE_START(bsx_cart) SLOT_INTERFACE_INTERNAL("bsmempak", SNS_BSMEMPAK) SLOT_INTERFACE_END -static MACHINE_CONFIG_START( bs_slot ) - MCFG_SNS_BSX_CARTRIDGE_ADD("bs_slot", bsx_cart, nullptr) -MACHINE_CONFIG_END - //------------------------------------------------- -// machine_config_additions - device-specific -// machine configurations +// device_add_mconfig - add device configuration //------------------------------------------------- -machine_config_constructor sns_rom_bsx_device::device_mconfig_additions() const -{ - return MACHINE_CONFIG_NAME( bs_slot ); -} +MACHINE_CONFIG_MEMBER( sns_rom_bsx_device::device_add_mconfig ) + MCFG_SNS_BSX_CARTRIDGE_ADD("bs_slot", bsx_cart, nullptr) +MACHINE_CONFIG_END -machine_config_constructor sns_rom_bsxlo_device::device_mconfig_additions() const -{ - return MACHINE_CONFIG_NAME( bs_slot ); -} +MACHINE_CONFIG_MEMBER( sns_rom_bsxlo_device::device_add_mconfig ) + MCFG_SNS_BSX_CARTRIDGE_ADD("bs_slot", bsx_cart, nullptr) +MACHINE_CONFIG_END + +MACHINE_CONFIG_MEMBER( sns_rom_bsxhi_device::device_add_mconfig ) + MCFG_SNS_BSX_CARTRIDGE_ADD("bs_slot", bsx_cart, nullptr) +MACHINE_CONFIG_END -machine_config_constructor sns_rom_bsxhi_device::device_mconfig_additions() const -{ - return MACHINE_CONFIG_NAME( bs_slot ); -} /*------------------------------------------------- mapper specific handlers |