diff options
author | Vas Crabb <vas@vastheman.com> | 2018-05-09 19:26:44 +1000 |
---|---|---|
committer | Vas Crabb <vas@vastheman.com> | 2018-05-09 19:26:44 +1000 |
commit | 6c11b3ce0131be3b14edf5ef93fa9cb2380ae45b (patch) | |
tree | 07181df4c25bf034f38aa13cf19c4ee2995d3e7f /src/devices/imagedev | |
parent | be68e91d80f242ca173ba8009dd8c68dbc4b7b29 (diff) |
dsp16: fix condition mask in disassembler (nw)
(nw) remove more MCFG macros and make speaker config more explicit
Diffstat (limited to 'src/devices/imagedev')
-rw-r--r-- | src/devices/imagedev/floppy.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/imagedev/floppy.cpp b/src/devices/imagedev/floppy.cpp index 2419ba8eb2f..5ef5668b741 100644 --- a/src/devices/imagedev/floppy.cpp +++ b/src/devices/imagedev/floppy.cpp @@ -1365,11 +1365,11 @@ void floppy_sound_device::sound_stream_update(sound_stream &stream, stream_sampl #define FLOPSPK "flopsndout" -MACHINE_CONFIG_START(floppy_image_device::device_add_mconfig) - MCFG_SPEAKER_STANDARD_MONO(FLOPSPK) - MCFG_DEVICE_ADD(FLOPSND_TAG, FLOPPYSOUND, 44100) - MCFG_SOUND_ROUTE(ALL_OUTPUTS, FLOPSPK, 0.5) -MACHINE_CONFIG_END +void floppy_image_device::device_add_mconfig(machine_config &config) +{ + SPEAKER(config, FLOPSPK).front_center(); + FLOPPYSOUND(config, FLOPSND_TAG, 44100).add_route(ALL_OUTPUTS, FLOPSPK, 0.5); +} DEFINE_DEVICE_TYPE(FLOPPYSOUND, floppy_sound_device, "flopsnd", "Floppy sound") |