diff options
author | Walter van Niftrik | 2010-01-09 02:16:43 +0000 |
---|---|---|
committer | Walter van Niftrik | 2010-01-09 02:16:43 +0000 |
commit | 6e991dc73ec44165cce1c49f2e72a5a97893fc12 (patch) | |
tree | fdc9fe3875c4cad3f399faaf9d05ec6eb1e11629 | |
parent | d1d4091281ea42528c89fadb48c7ab1409ed4583 (diff) | |
download | scummvm-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.cpp | 2 |
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; } |