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/machine/z80sio.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/machine/z80sio.cpp')
-rw-r--r-- | src/devices/machine/z80sio.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/machine/z80sio.cpp b/src/devices/machine/z80sio.cpp index aaf861bcfc8..78e6e97e703 100644 --- a/src/devices/machine/z80sio.cpp +++ b/src/devices/machine/z80sio.cpp @@ -106,7 +106,7 @@ DEFINE_DEVICE_TYPE(I8274_NEW, i8274_new_device, "i8274_new", "Intel //------------------------------------------------- // device_mconfig_additions - //------------------------------------------------- -MACHINE_CONFIG_FRAGMENT( z80sio ) +MACHINE_CONFIG_START( z80sio ) MCFG_DEVICE_ADD(CHANA_TAG, Z80SIO_CHANNEL, 0) MCFG_DEVICE_ADD(CHANB_TAG, Z80SIO_CHANNEL, 0) MACHINE_CONFIG_END |