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/vtech/memexp | |
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/vtech/memexp')
-rw-r--r-- | src/devices/bus/vtech/memexp/floppy.cpp | 2 | ||||
-rw-r--r-- | src/devices/bus/vtech/memexp/rs232.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/vtech/memexp/floppy.cpp b/src/devices/bus/vtech/memexp/floppy.cpp index 49c27f0118f..f0cbe001471 100644 --- a/src/devices/bus/vtech/memexp/floppy.cpp +++ b/src/devices/bus/vtech/memexp/floppy.cpp @@ -49,7 +49,7 @@ static SLOT_INTERFACE_START( laser_floppies ) SLOT_INTERFACE("525", FLOPPY_525_SSSD) SLOT_INTERFACE_END -static MACHINE_CONFIG_FRAGMENT( floppy_controller ) +static MACHINE_CONFIG_START( floppy_controller ) MCFG_MEMEXP_SLOT_ADD("mem") MCFG_FLOPPY_DRIVE_ADD("0", laser_floppies, "525", floppy_image_device::default_floppy_formats) MCFG_FLOPPY_DRIVE_ADD("1", laser_floppies, "525", floppy_image_device::default_floppy_formats) diff --git a/src/devices/bus/vtech/memexp/rs232.cpp b/src/devices/bus/vtech/memexp/rs232.cpp index 7cebd6edb8e..517ce26f416 100644 --- a/src/devices/bus/vtech/memexp/rs232.cpp +++ b/src/devices/bus/vtech/memexp/rs232.cpp @@ -35,7 +35,7 @@ const tiny_rom_entry *vtech_rs232_interface_device::device_rom_region() const // machine configurations //------------------------------------------------- -static MACHINE_CONFIG_FRAGMENT( rs232 ) +static MACHINE_CONFIG_START( rs232 ) MCFG_RS232_PORT_ADD("rs232", default_rs232_devices, nullptr) MCFG_RS232_RXD_HANDLER(WRITELINE(vtech_rs232_interface_device, rs232_rx_w)) MACHINE_CONFIG_END |