diff options
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 |
commit | a6ee791664e78112cd59fddd23252c4077c5271e (patch) | |
tree | f5c3ac81e60b735a721da21085fff7e0df7c58c8 /src/devices/bus/msx_cart/disk.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/msx_cart/disk.cpp')
-rw-r--r-- | src/devices/bus/msx_cart/disk.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/bus/msx_cart/disk.cpp b/src/devices/bus/msx_cart/disk.cpp index 79313b49012..86f1ba80a0d 100644 --- a/src/devices/bus/msx_cart/disk.cpp +++ b/src/devices/bus/msx_cart/disk.cpp @@ -194,7 +194,7 @@ void msx_cart_disk_device::initialize_cartridge() } -static MACHINE_CONFIG_FRAGMENT( vy0010 ) +static MACHINE_CONFIG_START( vy0010 ) // From VY-0010 schematic: // HLT pulled high // SSO/-ENMF + -DDEN + ENP + -5/8 - pulled low @@ -220,7 +220,7 @@ machine_config_constructor msx_cart_vy0010_device::device_mconfig_additions() co } -static MACHINE_CONFIG_FRAGMENT( fsfd1 ) +static MACHINE_CONFIG_START( fsfd1 ) MCFG_WD2793_ADD("fdc", XTAL_4MHz / 4) // Double sided 3.5" floppy drive @@ -241,7 +241,7 @@ machine_config_constructor msx_cart_fsfd1_device::device_mconfig_additions() con } -static MACHINE_CONFIG_FRAGMENT( fsfd1a ) +static MACHINE_CONFIG_START( fsfd1a ) MCFG_TC8566AF_ADD("fdc") // Double sided 3.5" floppy drive @@ -262,7 +262,7 @@ machine_config_constructor msx_cart_fsfd1a_device::device_mconfig_additions() co } -static MACHINE_CONFIG_FRAGMENT( fscf351 ) +static MACHINE_CONFIG_START( fscf351 ) MCFG_MB8877_ADD("fdc", XTAL_4MHz / 4) MCFG_WD_FDC_FORCE_READY |