diff options
Diffstat (limited to 'src/mame/audio/llander.cpp')
-rw-r--r-- | src/mame/audio/llander.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/audio/llander.cpp b/src/mame/audio/llander.cpp index 4c216f3679b..80429f032f4 100644 --- a/src/mame/audio/llander.cpp +++ b/src/mame/audio/llander.cpp @@ -98,9 +98,9 @@ WRITE8_MEMBER(asteroid_state::llander_sounds_w) } -MACHINE_CONFIG_START(asteroid_state::llander_sound) +void asteroid_state::llander_sound(machine_config &config) +{ SPEAKER(config, "mono").front_center(); - MCFG_DEVICE_ADD("discrete", DISCRETE, llander_discrete) - MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0) -MACHINE_CONFIG_END + DISCRETE(config, m_discrete, llander_discrete).add_route(ALL_OUTPUTS, "mono", 1.0); +} |