summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/sega8/mgear.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/sega8/mgear.cpp')
-rw-r--r--src/devices/bus/sega8/mgear.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/devices/bus/sega8/mgear.cpp b/src/devices/bus/sega8/mgear.cpp
index e1f292013f1..46fb6a4ad52 100644
--- a/src/devices/bus/sega8/mgear.cpp
+++ b/src/devices/bus/sega8/mgear.cpp
@@ -38,7 +38,8 @@ void sega8_mgear_device::device_reset()
}
-MACHINE_CONFIG_START(sega8_mgear_device::device_add_mconfig)
- MCFG_SMS_CARTRIDGE_ADD("subslot", sms_cart, nullptr)
+void sega8_mgear_device::device_add_mconfig(machine_config &config)
+{
+ SMS_CART_SLOT(config, "subslot", sms_cart, nullptr);
SOFTWARE_LIST(config, "cart_list").set_original("sms");
-MACHINE_CONFIG_END
+}