summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/newbrain
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2017-05-22 14:31:40 +1000
committer Vas Crabb <vas@vastheman.com>2017-05-22 14:31:40 +1000
commita6ee791664e78112cd59fddd23252c4077c5271e (patch)
treef5c3ac81e60b735a721da21085fff7e0df7c58c8 /src/devices/bus/newbrain
parente63871ed51214148c8e3b103d594f2b33e0ea197 (diff)
Goodbye MACHINE_CONFIG_FRAGMENT, it was nice knowing you.
(nw) This is a pretty minimal change. The point where the root device is added has been moved from the MACHINE_CONFIG_START macro to the constructor of the machine configuration class (made possible by giving drivers their own device types). This isn't the final change in this area. The root device is still being handled specially in that its configuration comes from the game driver structure. This needs to be harmonised with regular devices. But that's a job for another day.
Diffstat (limited to 'src/devices/bus/newbrain')
-rw-r--r--src/devices/bus/newbrain/eim.cpp4
-rw-r--r--src/devices/bus/newbrain/fdc.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/bus/newbrain/eim.cpp b/src/devices/bus/newbrain/eim.cpp
index e1a70e6f682..d7a982547fe 100644
--- a/src/devices/bus/newbrain/eim.cpp
+++ b/src/devices/bus/newbrain/eim.cpp
@@ -64,10 +64,10 @@ const tiny_rom_entry *newbrain_eim_device::device_rom_region() const
//-------------------------------------------------
-// MACHINE_CONFIG_FRAGMENT( newbrain_eim )
+// MACHINE_CONFIG_START( newbrain_eim )
//-------------------------------------------------
-static MACHINE_CONFIG_FRAGMENT( newbrain_eim )
+static MACHINE_CONFIG_START( newbrain_eim )
// devices
MCFG_DEVICE_ADD(Z80CTC_TAG, Z80CTC, XTAL_16MHz/8)
MCFG_Z80CTC_ZC0_CB(DEVWRITELINE(MC6850_TAG, acia6850_device, write_rxc))
diff --git a/src/devices/bus/newbrain/fdc.cpp b/src/devices/bus/newbrain/fdc.cpp
index 4618588353a..592c17c8168 100644
--- a/src/devices/bus/newbrain/fdc.cpp
+++ b/src/devices/bus/newbrain/fdc.cpp
@@ -98,10 +98,10 @@ SLOT_INTERFACE_END
//-------------------------------------------------
-// MACHINE_CONFIG_FRAGMENT( newbrain_fdc )
+// MACHINE_CONFIG_START( newbrain_fdc )
//-------------------------------------------------
-static MACHINE_CONFIG_FRAGMENT( newbrain_fdc )
+static MACHINE_CONFIG_START( newbrain_fdc )
MCFG_CPU_ADD(Z80_TAG, Z80, XTAL_4MHz)
MCFG_CPU_PROGRAM_MAP(newbrain_fdc_mem)
MCFG_CPU_IO_MAP(newbrain_fdc_io)