diff options
author | 2017-05-22 14:31:40 +1000 | |
---|---|---|
committer | 2017-05-22 14:31:40 +1000 | |
commit | a6ee791664e78112cd59fddd23252c4077c5271e (patch) | |
tree | f5c3ac81e60b735a721da21085fff7e0df7c58c8 /src/devices/bus/sega8/ccatch.cpp | |
parent | e63871ed51214148c8e3b103d594f2b33e0ea197 (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/sega8/ccatch.cpp')
-rw-r--r-- | src/devices/bus/sega8/ccatch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/bus/sega8/ccatch.cpp b/src/devices/bus/sega8/ccatch.cpp index 4f30ea15767..7c35aad62d8 100644 --- a/src/devices/bus/sega8/ccatch.cpp +++ b/src/devices/bus/sega8/ccatch.cpp @@ -52,7 +52,7 @@ static SLOT_INTERFACE_START(sg1000_card) SLOT_INTERFACE_INTERNAL("rom", SEGA8_ROM_STD) SLOT_INTERFACE_END -static MACHINE_CONFIG_FRAGMENT( sub_slot ) +static MACHINE_CONFIG_START( sub_slot ) MCFG_SG1000_CARD_ADD("cardslot", sg1000_card, nullptr) MACHINE_CONFIG_END |