summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/sg1000.c
diff options
context:
space:
mode:
author Curt Coder <curtcoder@mail.com>2012-11-22 19:33:19 +0000
committer Curt Coder <curtcoder@mail.com>2012-11-22 19:33:19 +0000
commit9046ce0dc516d3a8b947deaa67448068c198eb45 (patch)
tree0f3c1a6ba191584dfd05631c95c6a4d978d37fd4 /src/mess/drivers/sg1000.c
parent20f0cd1a58cfeff8d49437b9c34a344732939706 (diff)
sed1310: Cleanup. (nw)
(MESS) bw2: Fixed memory mapping. (nw) (MESS) msm6255: Refactored to use device_memory_interface. (nw) (MESS) floppy: Added macros for declaring modern floppy formats. The generic floppy formats (D88/DFI/IMD/IPF/MFI/MFM) are now automatically supported in each driver using the modern floppy code. [Curt Coder]
Diffstat (limited to 'src/mess/drivers/sg1000.c')
-rw-r--r--src/mess/drivers/sg1000.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/mess/drivers/sg1000.c b/src/mess/drivers/sg1000.c
index 43ad7ebf821..9c430a428b6 100644
--- a/src/mess/drivers/sg1000.c
+++ b/src/mess/drivers/sg1000.c
@@ -969,11 +969,6 @@ WRITE_LINE_MEMBER(sf7000_state::sf7000_fdc_index_callback)
floppy_interface sf7000_floppy_interface
-------------------------------------------------*/
-static const floppy_format_type sf7000_floppy_formats[] = {
- FLOPPY_MFI_FORMAT,
- NULL
-};
-
static SLOT_INTERFACE_START( sf7000_floppies )
SLOT_INTERFACE( "525hd", FLOPPY_525_HD )
SLOT_INTERFACE_END
@@ -1193,7 +1188,7 @@ static MACHINE_CONFIG_START( sf7000, sf7000_state )
MCFG_I8255_ADD(UPD9255_1_TAG, sf7000_ppi_intf)
MCFG_I8251_ADD(UPD8251_TAG, default_i8251_interface)
MCFG_UPD765A_ADD(UPD765_TAG, true, true)
- MCFG_FLOPPY_DRIVE_ADD(UPD765_TAG ":0", sf7000_floppies, "525hd", 0, sf7000_floppy_formats)
+ MCFG_FLOPPY_DRIVE_ADD(UPD765_TAG ":0", sf7000_floppies, "525hd", 0, floppy_image_device::default_floppy_formats)
// MCFG_PRINTER_ADD("sp400") /* serial printer */
MCFG_CENTRONICS_PRINTER_ADD(CENTRONICS_TAG, standard_centronics)
MCFG_CASSETTE_ADD(CASSETTE_TAG, sc3000_cassette_interface)