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/tanbus/radisc.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/tanbus/radisc.cpp')
-rw-r--r-- | src/devices/bus/tanbus/radisc.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/bus/tanbus/radisc.cpp b/src/devices/bus/tanbus/radisc.cpp index a537bb13535..b302e33c80d 100644 --- a/src/devices/bus/tanbus/radisc.cpp +++ b/src/devices/bus/tanbus/radisc.cpp @@ -45,10 +45,10 @@ void tanbus_radisc_device::device_add_mconfig(machine_config &config) m_fdc->hld_wr_callback().set(FUNC(tanbus_radisc_device::fdc_hld_w)); m_fdc->set_force_ready(true); - FLOPPY_CONNECTOR(config, m_floppies[0], tandos_floppies, "525qd", floppy_image_device::default_floppy_formats).enable_sound(true); - FLOPPY_CONNECTOR(config, m_floppies[1], tandos_floppies, "525qd", floppy_image_device::default_floppy_formats).enable_sound(true); - FLOPPY_CONNECTOR(config, m_floppies[2], tandos_floppies, nullptr, floppy_image_device::default_floppy_formats).enable_sound(true); - FLOPPY_CONNECTOR(config, m_floppies[3], tandos_floppies, nullptr, floppy_image_device::default_floppy_formats).enable_sound(true); + FLOPPY_CONNECTOR(config, m_floppies[0], tandos_floppies, "525qd", floppy_image_device::default_mfm_floppy_formats).enable_sound(true); + FLOPPY_CONNECTOR(config, m_floppies[1], tandos_floppies, "525qd", floppy_image_device::default_mfm_floppy_formats).enable_sound(true); + FLOPPY_CONNECTOR(config, m_floppies[2], tandos_floppies, nullptr, floppy_image_device::default_mfm_floppy_formats).enable_sound(true); + FLOPPY_CONNECTOR(config, m_floppies[3], tandos_floppies, nullptr, floppy_image_device::default_mfm_floppy_formats).enable_sound(true); MC146818(config, m_rtc, 32.768_kHz_XTAL); m_rtc->irq().set(m_irq_line, FUNC(input_merger_device::in_w<IRQ_RTC>)); |