diff options
author | 2018-01-07 22:20:14 +0100 | |
---|---|---|
committer | 2018-01-17 16:11:18 +0100 | |
commit | d469cc04bcace0f601802301caeddc5b473b75f2 (patch) | |
tree | a9d71540c9c69cee5ab3a533476b81833fa02f5f /src/devices/bus/isa/mach32.cpp | |
parent | 9f383f76ce6f00cc3320e5ba53dc323781e0077b (diff) |
API Change: Machine configs are now a method of the owner class, and the prototype is simplified [O. Galibert]
Beware, the device context does not follow in MCFG_FRAGMENT_ADD
anymore due to the prototype change. So creating a device then
configuring through a fragment doesn't work as-is. The simplest
solution is just to add a MCFG_DEVICE_MODIFY at the start of the
fragment with the correct tag.
Diffstat (limited to 'src/devices/bus/isa/mach32.cpp')
-rw-r--r-- | src/devices/bus/isa/mach32.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/isa/mach32.cpp b/src/devices/bus/isa/mach32.cpp index 6f94b263c26..8bf78a14505 100644 --- a/src/devices/bus/isa/mach32.cpp +++ b/src/devices/bus/isa/mach32.cpp @@ -47,7 +47,7 @@ mach32_device::mach32_device(const machine_config &mconfig, device_type type, co { } -MACHINE_CONFIG_MEMBER( mach32_device::device_add_mconfig ) +MACHINE_CONFIG_START(mach32_device::device_add_mconfig) MCFG_DEVICE_ADD("8514a", ATIMACH32_8514A, 0) MCFG_EEPROM_SERIAL_93C56_ADD("ati_eeprom") MACHINE_CONFIG_END @@ -266,7 +266,7 @@ mach64_device::mach64_device(const machine_config &mconfig, device_type type, co { } -MACHINE_CONFIG_MEMBER( mach64_device::device_add_mconfig ) +MACHINE_CONFIG_START(mach64_device::device_add_mconfig) MCFG_DEVICE_ADD("8514a", ATIMACH64_8514A, 0) MCFG_EEPROM_SERIAL_93C56_ADD("ati_eeprom") MACHINE_CONFIG_END |