summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/sms_exp/gender.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/sms_exp/gender.cpp')
-rw-r--r--src/devices/bus/sms_exp/gender.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/devices/bus/sms_exp/gender.cpp b/src/devices/bus/sms_exp/gender.cpp
index b6279fb8dff..227aae8a1da 100644
--- a/src/devices/bus/sms_exp/gender.cpp
+++ b/src/devices/bus/sms_exp/gender.cpp
@@ -95,6 +95,7 @@ WRITE8_MEMBER(sms_gender_adapter_device::write_ram)
// device_add_mconfig - add device configuration
//-------------------------------------------------
-MACHINE_CONFIG_START(sms_gender_adapter_device::device_add_mconfig)
- MCFG_SMS_CARTRIDGE_ADD("subslot", sms_cart, nullptr)
-MACHINE_CONFIG_END
+void sms_gender_adapter_device::device_add_mconfig(machine_config &config)
+{
+ SMS_CART_SLOT(config, "subslot", sms_cart, nullptr);
+}