summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/electron/cart/peg400.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/electron/cart/peg400.cpp')
-rw-r--r--src/devices/bus/electron/cart/peg400.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/devices/bus/electron/cart/peg400.cpp b/src/devices/bus/electron/cart/peg400.cpp
index 1bf8442421f..9e8df57c310 100644
--- a/src/devices/bus/electron/cart/peg400.cpp
+++ b/src/devices/bus/electron/cart/peg400.cpp
@@ -31,10 +31,11 @@ FLOPPY_FORMATS_MEMBER(electron_peg400_device::floppy_formats)
FLOPPY_ACORN_ADFS_OLD_FORMAT
FLOPPY_FORMATS_END0
-SLOT_INTERFACE_START(peg400_floppies)
- SLOT_INTERFACE("35dd", FLOPPY_35_DD)
- SLOT_INTERFACE("525qd", FLOPPY_525_QD)
-SLOT_INTERFACE_END
+void peg400_floppies(device_slot_interface &device)
+{
+ device.option_add("35dd", FLOPPY_35_DD);
+ device.option_add("525qd", FLOPPY_525_QD);
+}
//-------------------------------------------------
// device_add_mconfig - add device configuration