summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/adam
diff options
context:
space:
mode:
author mooglyguy <therealmogminer@gmail.com>2018-08-15 18:37:51 +0200
committer mooglyguy <therealmogminer@gmail.com>2018-08-15 18:38:07 +0200
commit1db10c9857414d0d8528b86400de08ee67df21f8 (patch)
tree6b9351909184f454f841aad4e870836c799959c6 /src/devices/bus/adam
parentd0d5aac29b938970a4e85640e2514af8b028e356 (diff)
-amigafdc, at29x, at45dbxx, at_keybc, ataintf, atmel_arm_aic, pci-ide: MCFG removal, nw
Diffstat (limited to 'src/devices/bus/adam')
-rw-r--r--src/devices/bus/adam/ide.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/devices/bus/adam/ide.cpp b/src/devices/bus/adam/ide.cpp
index d5f403f3d10..fe97b7be512 100644
--- a/src/devices/bus/adam/ide.cpp
+++ b/src/devices/bus/adam/ide.cpp
@@ -62,12 +62,14 @@ const tiny_rom_entry *powermate_ide_device::device_rom_region() const
// device_add_mconfig - add device configuration
//-------------------------------------------------
-MACHINE_CONFIG_START(powermate_ide_device::device_add_mconfig)
- MCFG_ATA_INTERFACE_ADD(ATA_TAG, ata_devices, "hdd", nullptr, false)
- MCFG_DEVICE_ADD(CENTRONICS_TAG, CENTRONICS, centronics_devices, "printer")
+void powermate_ide_device::device_add_mconfig(machine_config &config)
+{
+ ATA_INTERFACE(config, m_ata).options(ata_devices, "hdd", nullptr, false);
+ centronics_device &centronics(CENTRONICS(config, CENTRONICS_TAG, centronics_devices, "printer"));
- MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", CENTRONICS_TAG)
-MACHINE_CONFIG_END
+ OUTPUT_LATCH(config, m_cent_data_out);
+ centronics.set_output_latch(*m_cent_data_out);
+}