From 9046ce0dc516d3a8b947deaa67448068c198eb45 Mon Sep 17 00:00:00 2001 From: Curt Coder Date: Thu, 22 Nov 2012 19:33:19 +0000 Subject: 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] --- src/mess/drivers/wangpc.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/mess/drivers/wangpc.c') diff --git a/src/mess/drivers/wangpc.c b/src/mess/drivers/wangpc.c index ab5cb3865b0..708362613cf 100644 --- a/src/mess/drivers/wangpc.c +++ b/src/mess/drivers/wangpc.c @@ -1032,12 +1032,6 @@ static MC2661_INTERFACE( epci_intf ) // upd765_interface fdc_intf //------------------------------------------------- - -static const floppy_format_type wangpc_floppy_formats[] = { - FLOPPY_MFI_FORMAT, - NULL -}; - static SLOT_INTERFACE_START( wangpc_floppies ) SLOT_INTERFACE( "525dd", FLOPPY_525_DD ) SLOT_INTERFACE_END @@ -1256,8 +1250,8 @@ static MACHINE_CONFIG_START( wangpc, wangpc_state ) MCFG_IM6402_ADD(IM6402_TAG, uart_intf) MCFG_MC2661_ADD(SCN2661_TAG, 0, epci_intf) MCFG_UPD765A_ADD(UPD765_TAG, false, false) - MCFG_FLOPPY_DRIVE_ADD(UPD765_TAG ":0", wangpc_floppies, "525dd", 0, wangpc_floppy_formats) - MCFG_FLOPPY_DRIVE_ADD(UPD765_TAG ":1", wangpc_floppies, "525dd", 0, wangpc_floppy_formats) + MCFG_FLOPPY_DRIVE_ADD(UPD765_TAG ":0", wangpc_floppies, "525dd", 0, floppy_image_device::default_floppy_formats) + MCFG_FLOPPY_DRIVE_ADD(UPD765_TAG ":1", wangpc_floppies, "525dd", 0, floppy_image_device::default_floppy_formats) MCFG_CENTRONICS_PRINTER_ADD(CENTRONICS_TAG, centronics_intf) MCFG_WANGPC_KEYBOARD_ADD() -- cgit v1.2.3-70-g09d2