summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/ti99/gromport/gromport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/ti99/gromport/gromport.cpp')
-rw-r--r--src/devices/bus/ti99/gromport/gromport.cpp22
1 files changed, 12 insertions, 10 deletions
diff --git a/src/devices/bus/ti99/gromport/gromport.cpp b/src/devices/bus/ti99/gromport/gromport.cpp
index 0a18076ebf8..f1b4c27f788 100644
--- a/src/devices/bus/ti99/gromport/gromport.cpp
+++ b/src/devices/bus/ti99/gromport/gromport.cpp
@@ -285,13 +285,15 @@ void cartridge_connector_device::device_config_complete()
} } } // end namespace bus::ti99::gromport
-SLOT_INTERFACE_START( gromport4 )
- SLOT_INTERFACE("single", TI99_GROMPORT_SINGLE)
- SLOT_INTERFACE("multi", TI99_GROMPORT_MULTI)
- SLOT_INTERFACE("gkracker", TI99_GROMPORT_GK)
-SLOT_INTERFACE_END
-
-SLOT_INTERFACE_START( gromport8 )
- SLOT_INTERFACE("single", TI99_GROMPORT_SINGLE)
- SLOT_INTERFACE("multi", TI99_GROMPORT_MULTI)
-SLOT_INTERFACE_END
+void gromport4(device_slot_interface &device)
+{
+ device.option_add("single", TI99_GROMPORT_SINGLE);
+ device.option_add("multi", TI99_GROMPORT_MULTI);
+ device.option_add("gkracker", TI99_GROMPORT_GK);
+}
+
+void gromport8(device_slot_interface &device)
+{
+ device.option_add("single", TI99_GROMPORT_SINGLE);
+ device.option_add("multi", TI99_GROMPORT_MULTI);
+}