diff options
author | 2021-03-02 15:29:33 +0100 | |
---|---|---|
committer | 2021-03-02 15:30:45 +0100 | |
commit | 3c9e3749541b1da8a0c5409c582070aae66dd3d6 (patch) | |
tree | 7fafe993b6679ef13fb48ed7d5e18f47a8226928 /src/devices/bus/a2bus/agat_fdc.cpp | |
parent | dd75841b96ec3a16e937ae970a986b87cc9c9ee2 (diff) |
floppies: Turn the format arrays into function calls. Create a default "mfm", "fm" and "pc" list of formats. Their contents, and which driver uses what, may need some tuning.
Diffstat (limited to 'src/devices/bus/a2bus/agat_fdc.cpp')
-rw-r--r-- | src/devices/bus/a2bus/agat_fdc.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/devices/bus/a2bus/agat_fdc.cpp b/src/devices/bus/a2bus/agat_fdc.cpp index 33b4ff87339..6867b4ef6d5 100644 --- a/src/devices/bus/a2bus/agat_fdc.cpp +++ b/src/devices/bus/a2bus/agat_fdc.cpp @@ -63,10 +63,11 @@ ROM_END // device_add_mconfig - add device configuration //------------------------------------------------- -FLOPPY_FORMATS_MEMBER( a2bus_agat_fdc_device::floppy_formats ) - FLOPPY_DS9_FORMAT, - FLOPPY_AIM_FORMAT -FLOPPY_FORMATS_END +void a2bus_agat_fdc_device::floppy_formats(format_registration &fr) +{ + fr.add(FLOPPY_DS9_FORMAT); + fr.add(FLOPPY_AIM_FORMAT); +} static void agat_floppies(device_slot_interface &device) { |