From 78b26921933fc1654f73377216acf26c05f66572 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Fri, 1 Jan 2010 17:25:44 +0000 Subject: SCI/new music code: Center pitch wheel when unloading music tracks svn-id: r46840 --- engines/sci/sfx/music.cpp | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.2.3