From 758a377a6509f38d3760b384089df791aed2f14f Mon Sep 17 00:00:00 2001 From: Michael Zapf Date: Mon, 10 Mar 2014 12:50:58 +0000 Subject: [PATCH] (MESS) Include some more disk image formats. (nw) --- src/mess/machine/ti99/bwg.c | 7 ++----- src/mess/machine/ti99/ti_fdc.c | 5 +---- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/src/mess/machine/ti99/bwg.c b/src/mess/machine/ti99/bwg.c index 289e14ff673..7776a3e06d0 100644 --- a/src/mess/machine/ti99/bwg.c +++ b/src/mess/machine/ti99/bwg.c @@ -80,9 +80,6 @@ // ---------------------------------- -#define FLOPPY_FORMATS_END_NO_DEFAULTS ,\ - NULL }; - #define MOTOR_TIMER 1 #define CLOCK_TAG "mm58274c" #define FDC_TAG "wd1773" @@ -335,7 +332,7 @@ READ8Z_MEMBER(snug_bwg_device::crureadz) WRITE8_MEMBER(snug_bwg_device::cruwrite) { -// int drive, drivebit; +// int drive, drivebit; if ((offset & 0xff00)==m_cru_base) { @@ -622,7 +619,7 @@ INPUT_PORTS_END FLOPPY_FORMATS_MEMBER(snug_bwg_device::floppy_formats) FLOPPY_TI99_SDF_FORMAT, FLOPPY_TI99_TDF_FORMAT -FLOPPY_FORMATS_END_NO_DEFAULTS +FLOPPY_FORMATS_END static SLOT_INTERFACE_START( bwg_floppies ) SLOT_INTERFACE( "525dd", FLOPPY_525_DD ) // 40 tracks diff --git a/src/mess/machine/ti99/ti_fdc.c b/src/mess/machine/ti99/ti_fdc.c index 071ed5ed217..33d227b7b37 100644 --- a/src/mess/machine/ti99/ti_fdc.c +++ b/src/mess/machine/ti99/ti_fdc.c @@ -46,9 +46,6 @@ #define MOTOR_TIMER 1 #define TI_FDC_TAG "ti_dssd_controller" -#define FLOPPY_FORMATS_END_NO_DEFAULTS ,\ - NULL }; - ti_fdc_device::ti_fdc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : ti_expansion_card_device(mconfig, TI99_FDC, "TI-99 Standard DSSD Floppy Controller", tag, owner, clock, "ti99_fdc", __FILE__), @@ -399,7 +396,7 @@ void ti_fdc_device::device_config_complete() FLOPPY_FORMATS_MEMBER(ti_fdc_device::floppy_formats) FLOPPY_TI99_SDF_FORMAT, FLOPPY_TI99_TDF_FORMAT -FLOPPY_FORMATS_END_NO_DEFAULTS +FLOPPY_FORMATS_END static SLOT_INTERFACE_START( tifdc_floppies ) SLOT_INTERFACE( "525dd", FLOPPY_525_DD )