summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/imagedev
diff options
context:
space:
mode:
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
commit6c11b3ce0131be3b14edf5ef93fa9cb2380ae45b (patch)
tree07181df4c25bf034f38aa13cf19c4ee2995d3e7f /src/devices/imagedev
parentbe68e91d80f242ca173ba8009dd8c68dbc4b7b29 (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.cpp10
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")