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/machine/ldpr8210.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/machine/ldpr8210.cpp')
-rw-r--r-- | src/devices/machine/ldpr8210.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/ldpr8210.cpp b/src/devices/machine/ldpr8210.cpp index aaab13a5e39..827d81dff80 100644 --- a/src/devices/machine/ldpr8210.cpp +++ b/src/devices/machine/ldpr8210.cpp @@ -372,7 +372,7 @@ const tiny_rom_entry *pioneer_pr8210_device::device_rom_region() const // device_add_mconfig - add device configuration //------------------------------------------------- -MACHINE_CONFIG_MEMBER( pioneer_pr8210_device::device_add_mconfig ) +MACHINE_CONFIG_START(pioneer_pr8210_device::device_add_mconfig) MCFG_CPU_ADD("pr8210", I8049, XTAL_4_41MHz) MCFG_CPU_IO_MAP(pr8210_portmap) MCFG_MCS48_PORT_BUS_IN_CB(READ8(pioneer_pr8210_device, i8049_bus_r)) @@ -999,7 +999,7 @@ const tiny_rom_entry *simutrek_special_device::device_rom_region() const // device_add_mconfig - add device configuration //------------------------------------------------- -MACHINE_CONFIG_MEMBER( simutrek_special_device::device_add_mconfig ) +MACHINE_CONFIG_START(simutrek_special_device::device_add_mconfig) MCFG_CPU_ADD("simutrek", I8748, XTAL_6MHz) MCFG_CPU_IO_MAP(simutrek_portmap) MCFG_MCS48_PORT_P2_IN_CB(READ8(simutrek_special_device, i8748_port2_r)) |