summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/adam/ide.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/adam/ide.cpp')
-rw-r--r--src/devices/bus/adam/ide.cpp16
1 files changed, 3 insertions, 13 deletions
diff --git a/src/devices/bus/adam/ide.cpp b/src/devices/bus/adam/ide.cpp
index 419ea89888d..2994b9ab864 100644
--- a/src/devices/bus/adam/ide.cpp
+++ b/src/devices/bus/adam/ide.cpp
@@ -59,9 +59,10 @@ const tiny_rom_entry *powermate_ide_device::device_rom_region() const
//-------------------------------------------------
-// MACHINE_CONFIG_START( adam_ata )
+// device_add_mconfig - add device configuration
//-------------------------------------------------
-static MACHINE_CONFIG_START( adam_ata )
+
+MACHINE_CONFIG_MEMBER( powermate_ide_device::device_add_mconfig )
MCFG_ATA_INTERFACE_ADD(ATA_TAG, ata_devices, "hdd", nullptr, false)
MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer")
@@ -69,17 +70,6 @@ static MACHINE_CONFIG_START( adam_ata )
MACHINE_CONFIG_END
-//-------------------------------------------------
-// machine_config_additions - device-specific
-// machine configurations
-//-------------------------------------------------
-
-machine_config_constructor powermate_ide_device::device_mconfig_additions() const
-{
- return MACHINE_CONFIG_NAME( adam_ata );
-}
-
-
//**************************************************************************
// LIVE DEVICE