summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/dlair.cpp
diff options
context:
space:
mode:
authorGravatarGravatar Vas Crabb <vas@vastheman.com>2018-05-09 19:26:44 +1000
committerGravatarGravatar Vas Crabb <vas@vastheman.com>2018-05-09 19:26:44 +1000
commit6c11b3ce0131be3b14edf5ef93fa9cb2380ae45b (patch) (github)
tree07181df4c25bf034f38aa13cf19c4ee2995d3e7f /src/mame/drivers/dlair.cpp
parentbe68e91d80f242ca173ba8009dd8c68dbc4b7b29 (diff)
downloadmame-6c11b3ce0131be3b14edf5ef93fa9cb2380ae45b.tar.bz2
mame-6c11b3ce0131be3b14edf5ef93fa9cb2380ae45b.zip
dsp16: fix condition mask in disassembler (nw)
(nw) remove more MCFG macros and make speaker config more explicit
Diffstat (limited to 'src/mame/drivers/dlair.cpp')
-rw-r--r--src/mame/drivers/dlair.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mame/drivers/dlair.cpp b/src/mame/drivers/dlair.cpp
index 76b2d0d4cf9..b1de8512856 100644
--- a/src/mame/drivers/dlair.cpp
+++ b/src/mame/drivers/dlair.cpp
@@ -737,7 +737,8 @@ MACHINE_CONFIG_START(dlair_state::dlair_base)
MCFG_DEVICE_PERIODIC_INT_DRIVER(dlair_state, irq0_line_hold, (double)MASTER_CLOCK_US/8/16/16/16/16)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("aysnd", AY8910, MASTER_CLOCK_US/8)
MCFG_AY8910_PORT_A_READ_CB(IOPORT("DSW1"))
@@ -796,7 +797,8 @@ MACHINE_CONFIG_START(dlair_state::dleuro)
MCFG_PALETTE_INIT_OWNER(dlair_state,dleuro)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("speaker", SPEAKER_SOUND)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.33)