summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/a1bus
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/a1bus
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/a1bus')
-rw-r--r--src/devices/bus/a1bus/a1cassette.cpp2
-rw-r--r--src/devices/bus/a1bus/a1cffa.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/a1bus/a1cassette.cpp b/src/devices/bus/a1bus/a1cassette.cpp
index f7b2012d461..86858066116 100644
--- a/src/devices/bus/a1bus/a1cassette.cpp
+++ b/src/devices/bus/a1bus/a1cassette.cpp
@@ -25,7 +25,7 @@ DEFINE_DEVICE_TYPE(A1BUS_CASSETTE, a1bus_cassette_device, "a1cass", "Apple I cas
/* sound output */
-MACHINE_CONFIG_FRAGMENT( cassette )
+MACHINE_CONFIG_START( cassette )
MCFG_CASSETTE_ADD("cassette")
MCFG_CASSETTE_DEFAULT_STATE(CASSETTE_STOPPED)
MCFG_CASSETTE_INTERFACE("apple1_cass")
diff --git a/src/devices/bus/a1bus/a1cffa.cpp b/src/devices/bus/a1bus/a1cffa.cpp
index 3fb11381e9a..6fb0931175f 100644
--- a/src/devices/bus/a1bus/a1cffa.cpp
+++ b/src/devices/bus/a1bus/a1cffa.cpp
@@ -24,7 +24,7 @@
DEFINE_DEVICE_TYPE(A1BUS_CFFA, a1bus_cffa_device, "cffa1", "CFFA Compact Flash for Apple I")
-MACHINE_CONFIG_FRAGMENT( cffa )
+MACHINE_CONFIG_START( cffa )
MCFG_ATA_INTERFACE_ADD(CFFA_ATA_TAG, ata_devices, "hdd", nullptr, false)
MACHINE_CONFIG_END