summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/mirage.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/mirage.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/mirage.c')
-rw-r--r--src/mess/drivers/mirage.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/mess/drivers/mirage.c b/src/mess/drivers/mirage.c
index e71ba4e207c..059c4a1443f 100644
--- a/src/mess/drivers/mirage.c
+++ b/src/mess/drivers/mirage.c
@@ -90,7 +90,7 @@ public:
int last_sndram_bank;
- static const floppy_format_type floppy_formats[];
+ DECLARE_FLOPPY_FORMATS( floppy_formats );
void fdc_intrq_w(bool state);
DECLARE_DRIVER_INIT(mirage);
@@ -106,10 +106,9 @@ public:
DECLARE_READ8_MEMBER(mirage_via_read_cb2);
};
-const floppy_format_type mirage_state::floppy_formats[] = {
- FLOPPY_ESQ8IMG_FORMAT, FLOPPY_IPF_FORMAT, FLOPPY_MFI_FORMAT, FLOPPY_DFI_FORMAT,
- NULL
-};
+FLOPPY_FORMATS_MEMBER( mirage_state::floppy_formats )
+ FLOPPY_ESQ8IMG_FORMAT
+FLOPPY_FORMATS_END
static SLOT_INTERFACE_START( ensoniq_floppies )
SLOT_INTERFACE( "35dd", FLOPPY_35_DD )