summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/sun3x.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/sun3x.cpp')
-rw-r--r--src/mame/drivers/sun3x.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mame/drivers/sun3x.cpp b/src/mame/drivers/sun3x.cpp
index 95ed03e46fa..8e652c7431f 100644
--- a/src/mame/drivers/sun3x.cpp
+++ b/src/mame/drivers/sun3x.cpp
@@ -577,9 +577,10 @@ FLOPPY_FORMATS_MEMBER( sun3x_state::floppy_formats )
FLOPPY_PC_FORMAT
FLOPPY_FORMATS_END
-static SLOT_INTERFACE_START( sun_floppies )
- SLOT_INTERFACE( "35hd", FLOPPY_35_HD )
-SLOT_INTERFACE_END
+static void sun_floppies(device_slot_interface &device)
+{
+ device.option_add("35hd", FLOPPY_35_HD);
+}
MACHINE_CONFIG_START(sun3x_state::sun3_80)
/* basic machine hardware */