aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWalter van Niftrik2010-01-09 02:16:43 +0000
committerWalter van Niftrik2010-01-09 02:16:43 +0000
commit6e991dc73ec44165cce1c49f2e72a5a97893fc12 (patch)
treefdc9fe3875c4cad3f399faaf9d05ec6eb1e11629
parentd1d4091281ea42528c89fadb48c7ab1409ed4583 (diff)
downloadscummvm-rg350-6e991dc73ec44165cce1c49f2e72a5a97893fc12.tar.gz
scummvm-rg350-6e991dc73ec44165cce1c49f2e72a5a97893fc12.tar.bz2
scummvm-rg350-6e991dc73ec44165cce1c49f2e72a5a97893fc12.zip
SCI: Fix crash on exit when using PCJr driver.
svn-id: r47192
-rw-r--r--engines/sci/sound/softseq/pcjr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/sound/softseq/pcjr.cpp b/engines/sci/sound/softseq/pcjr.cpp
index 8b2ded4a8a..8b3df58737 100644
--- a/engines/sci/sound/softseq/pcjr.cpp
+++ b/engines/sci/sound/softseq/pcjr.cpp
@@ -219,7 +219,7 @@ int MidiDriver_PCJr::open(int channels) {
MidiDriver_Emulated::open();
- _mixer->playInputStream(Audio::Mixer::kPlainSoundType, &_mixerSoundHandle, this, -1);
+ _mixer->playInputStream(Audio::Mixer::kMusicSoundType, &_mixerSoundHandle, this, -1, _mixer->kMaxChannelVolume, 0, DisposeAfterUse::NO);
return 0;
}