From ef5eda2279a3893ab2c42d06c97ea6c824a30167 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Sun, 5 Jul 2015 00:03:55 +0200 Subject: AUDIO: Make Miles AdLib audio stream permanent This protects it from any calls to stopAll() in the mixer, which is needed for Return to Zork, at the very least. --- audio/miles_adlib.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'audio/miles_adlib.cpp') diff --git a/audio/miles_adlib.cpp b/audio/miles_adlib.cpp index cfdf76a6a5..fb02b906d6 100644 --- a/audio/miles_adlib.cpp +++ b/audio/miles_adlib.cpp @@ -323,7 +323,7 @@ int MidiDriver_Miles_AdLib::open() { MidiDriver_Emulated::open(); - _mixer->playStream(Audio::Mixer::kPlainSoundType, &_mixerSoundHandle, this, -1, _mixer->kMaxChannelVolume, 0, DisposeAfterUse::NO); + _mixer->playStream(Audio::Mixer::kPlainSoundType, &_mixerSoundHandle, this, -1, _mixer->kMaxChannelVolume, 0, DisposeAfterUse::NO, true); resetAdLib(); -- cgit v1.2.3