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.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/devices/bus/sega8/mgear.cpp b/src/devices/bus/sega8/mgear.cpp
index 977ea1f18e7..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)
- MCFG_SOFTWARE_LIST_ADD("cart_list","sms")
-MACHINE_CONFIG_END
+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");
+}