aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2015-07-05 00:03:55 +0200
committerTorbjörn Andersson2015-07-05 00:08:15 +0200
commitef5eda2279a3893ab2c42d06c97ea6c824a30167 (patch)
tree88ed105e1d972129937e5a4e5cb73281779d7560
parent672bdeff1f4a0e73d4565ab596af4833e9b7075a (diff)
downloadscummvm-rg350-ef5eda2279a3893ab2c42d06c97ea6c824a30167.tar.gz
scummvm-rg350-ef5eda2279a3893ab2c42d06c97ea6c824a30167.tar.bz2
scummvm-rg350-ef5eda2279a3893ab2c42d06c97ea6c824a30167.zip
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.
-rw-r--r--audio/miles_adlib.cpp2
1 files changed, 1 insertions, 1 deletions
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();