diff options
Diffstat (limited to 'src/devices/bus/megadrive/sk.cpp')
-rw-r--r-- | src/devices/bus/megadrive/sk.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/devices/bus/megadrive/sk.cpp b/src/devices/bus/megadrive/sk.cpp index c45574ff1a3..b48163e9b94 100644 --- a/src/devices/bus/megadrive/sk.cpp +++ b/src/devices/bus/megadrive/sk.cpp @@ -79,8 +79,7 @@ static void sk_sub_cart(device_slot_interface &device) // device_add_mconfig - add device configuration //------------------------------------------------- -void md_rom_sk_device::device_add_mconfig(machine_config &config) -{ - MD_CART_SLOT(config, m_exp, sk_sub_cart, nullptr); - m_exp->set_must_be_loaded(false); -} +MACHINE_CONFIG_START(md_rom_sk_device::device_add_mconfig) + MCFG_MD_CARTRIDGE_ADD("subslot", sk_sub_cart, nullptr) + MCFG_MD_CARTRIDGE_NOT_MANDATORY +MACHINE_CONFIG_END |