summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/megadrive/sk.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/megadrive/sk.cpp')
-rw-r--r--src/devices/bus/megadrive/sk.cpp19
1 files changed, 5 insertions, 14 deletions
diff --git a/src/devices/bus/megadrive/sk.cpp b/src/devices/bus/megadrive/sk.cpp
index 822e076c6b4..ddaf4fdcf83 100644
--- a/src/devices/bus/megadrive/sk.cpp
+++ b/src/devices/bus/megadrive/sk.cpp
@@ -63,9 +63,6 @@ WRITE16_MEMBER(md_rom_sk_device::write)
// should there be anything here?
}
-//-------------------------------------------------
-// MACHINE_CONFIG_START( sk_slot )
-//-------------------------------------------------
static SLOT_INTERFACE_START(sk_sub_cart)
SLOT_INTERFACE_INTERNAL("rom", MD_STD_ROM)
@@ -76,18 +73,12 @@ static SLOT_INTERFACE_START(sk_sub_cart)
// add all types??
SLOT_INTERFACE_END
-static MACHINE_CONFIG_START( sk_slot )
- MCFG_MD_CARTRIDGE_ADD("subslot", sk_sub_cart, nullptr)
- MCFG_MD_CARTRIDGE_NOT_MANDATORY
-MACHINE_CONFIG_END
-
//-------------------------------------------------
-// machine_config_additions - device-specific
-// machine configurations
+// device_add_mconfig - add device configuration
//-------------------------------------------------
-machine_config_constructor md_rom_sk_device::device_mconfig_additions() const
-{
- return MACHINE_CONFIG_NAME( sk_slot );
-}
+MACHINE_CONFIG_MEMBER( md_rom_sk_device::device_add_mconfig )
+ MCFG_MD_CARTRIDGE_ADD("subslot", sk_sub_cart, nullptr)
+ MCFG_MD_CARTRIDGE_NOT_MANDATORY
+MACHINE_CONFIG_END