summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/comx35/fdc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/comx35/fdc.cpp')
-rw-r--r--src/devices/bus/comx35/fdc.cpp17
1 files changed, 3 insertions, 14 deletions
diff --git a/src/devices/bus/comx35/fdc.cpp b/src/devices/bus/comx35/fdc.cpp
index b7273c4a87a..0fbe31a7295 100644
--- a/src/devices/bus/comx35/fdc.cpp
+++ b/src/devices/bus/comx35/fdc.cpp
@@ -92,28 +92,17 @@ SLOT_INTERFACE_END
//-------------------------------------------------
-// MACHINE_CONFIG_START( comx_fd )
+// device_add_mconfig - add device configuration
//-------------------------------------------------
-static MACHINE_CONFIG_START( comx_fd )
+MACHINE_CONFIG_MEMBER( comx_fd_device::device_add_mconfig )
MCFG_WD1770_ADD(WD1770_TAG, XTAL_8MHz)
MCFG_FLOPPY_DRIVE_ADD(WD1770_TAG":0", comx_fd_floppies, "525sd35t", comx_fd_device::floppy_formats)
- MCFG_FLOPPY_DRIVE_ADD(WD1770_TAG":1", comx_fd_floppies, nullptr, comx_fd_device::floppy_formats)
+ MCFG_FLOPPY_DRIVE_ADD(WD1770_TAG":1", comx_fd_floppies, nullptr, comx_fd_device::floppy_formats)
MACHINE_CONFIG_END
-//-------------------------------------------------
-// machine_config_additions - device-specific
-// machine configurations
-//-------------------------------------------------
-
-machine_config_constructor comx_fd_device::device_mconfig_additions() const
-{
- return MACHINE_CONFIG_NAME( comx_fd );
-}
-
-
//**************************************************************************
// LIVE DEVICE