aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2010-01-01 17:25:44 +0000
committerFilippos Karapetis2010-01-01 17:25:44 +0000
commit78b26921933fc1654f73377216acf26c05f66572 (patch)
tree241836936075b5ff6a453b11329d8bb1d383e5cd
parent763c59bd4617bb1adaaadc3f3d1808c87e63b033 (diff)
downloadscummvm-rg350-78b26921933fc1654f73377216acf26c05f66572.tar.gz
scummvm-rg350-78b26921933fc1654f73377216acf26c05f66572.tar.bz2
scummvm-rg350-78b26921933fc1654f73377216acf26c05f66572.zip
SCI/new music code: Center pitch wheel when unloading music tracks
svn-id: r46840
-rw-r--r--engines/sci/sfx/music.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/sfx/music.cpp b/engines/sci/sfx/music.cpp
index 7b3ff33a62..95d5af3f1b 100644
--- a/engines/sci/sfx/music.cpp
+++ b/engines/sci/sfx/music.cpp
@@ -341,6 +341,7 @@ void SciMusic::soundInitSnd(MusicEntry *pSnd) {
pSnd->pMidiParser = new MidiParser_SCI();
pSnd->pMidiParser->setMidiDriver(_pMidiDrv);
pSnd->pMidiParser->setTimerRate(_dwTempo);
+ pSnd->pMidiParser->property(MidiParser::mpCenterPitchWheelOnUnload, 1);
}
pSnd->pauseCounter = 0;