summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/hp9845_io/hp9885.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/hp9845_io/hp9885.cpp')
-rw-r--r--src/devices/bus/hp9845_io/hp9885.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/devices/bus/hp9845_io/hp9885.cpp b/src/devices/bus/hp9845_io/hp9885.cpp
index f54b4973c44..ed782054504 100644
--- a/src/devices/bus/hp9845_io/hp9885.cpp
+++ b/src/devices/bus/hp9845_io/hp9885.cpp
@@ -303,10 +303,9 @@ WRITE_LINE_MEMBER(hp9885_device::preset_w)
LOG("PRESET = %d\n" , state);
}
-static const floppy_format_type hp9885_floppy_formats[] = {
- FLOPPY_MFI_FORMAT,
- FLOPPY_HPI_FORMAT,
- nullptr
+static void hp9885_floppy_formats(format_registration &fr)
+{
+ fr.add(FLOPPY_HPI_FORMAT);
};
void hp9885_device::device_add_mconfig(machine_config &config)