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/sblaster.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/sblaster.cpp')
-rw-r--r-- | src/devices/bus/isa/sblaster.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/bus/isa/sblaster.cpp b/src/devices/bus/isa/sblaster.cpp index a6c0bcfa438..c693e4648c9 100644 --- a/src/devices/bus/isa/sblaster.cpp +++ b/src/devices/bus/isa/sblaster.cpp @@ -1140,7 +1140,7 @@ DEFINE_DEVICE_TYPE(ISA16_SOUND_BLASTER_16, isa16_sblaster16_device, "isa_sblaste // device_add_mconfig - add device configuration //------------------------------------------------- -MACHINE_CONFIG_MEMBER( isa8_sblaster1_0_device::device_add_mconfig ) +MACHINE_CONFIG_START(isa8_sblaster1_0_device::device_add_mconfig) MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") MCFG_SOUND_ADD("ym3812", YM3812, ym3812_StdClock) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 3.00) @@ -1165,7 +1165,7 @@ MACHINE_CONFIG_MEMBER( isa8_sblaster1_0_device::device_add_mconfig ) MCFG_MIDI_PORT_ADD("mdout", midiout_slot, "midiout") MACHINE_CONFIG_END -MACHINE_CONFIG_MEMBER( isa8_sblaster1_5_device::device_add_mconfig ) +MACHINE_CONFIG_START(isa8_sblaster1_5_device::device_add_mconfig) MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") MCFG_SOUND_ADD("ym3812", YM3812, ym3812_StdClock) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.00) @@ -1185,7 +1185,7 @@ MACHINE_CONFIG_MEMBER( isa8_sblaster1_5_device::device_add_mconfig ) MCFG_MIDI_PORT_ADD("mdout", midiout_slot, "midiout") MACHINE_CONFIG_END -MACHINE_CONFIG_MEMBER( isa16_sblaster16_device::device_add_mconfig ) +MACHINE_CONFIG_START(isa16_sblaster16_device::device_add_mconfig) MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") MCFG_SOUND_ADD("ymf262", YMF262, ymf262_StdClock) MCFG_SOUND_ROUTE(0, "lspeaker", 1.00) |