diff options
author | Torbjörn Andersson | 2005-10-12 06:57:25 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2005-10-12 06:57:25 +0000 |
commit | 744a01b4490552b30778fa1a2b8be47588a3bd8a (patch) | |
tree | 0eb11f515c7f3323fc41a3473c2d4f4d57b20ea4 /saga | |
parent | cd2c0f2e4781e99d1521c442b674624eb9efe6e2 (diff) | |
download | scummvm-rg350-744a01b4490552b30778fa1a2b8be47588a3bd8a.tar.gz scummvm-rg350-744a01b4490552b30778fa1a2b8be47588a3bd8a.tar.bz2 scummvm-rg350-744a01b4490552b30778fa1a2b8be47588a3bd8a.zip |
Looks like my pitch wheel change still has the ability to break things. See
bug #1324103.
I've changed it - again - so that now it only centers the pitch wheels on
unload if a new mpCenterPitchWheelOnUnload property has been set. Currently
only the SAGA engine does that, so if it still breaks it only breaks SAGA.
I've also fixed what looked like an unintentional fall-through in the
MidiParser::property() function. Surently that can't cause any new
regressions? Please.
svn-id: r19032
Diffstat (limited to 'saga')
-rw-r--r-- | saga/music.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/saga/music.cpp b/saga/music.cpp index a4a11b4e31..9e0dad6152 100644 --- a/saga/music.cpp +++ b/saga/music.cpp @@ -487,6 +487,7 @@ void Music::play(uint32 resourceId, MusicFlags flags) { parser->setTrack(0); parser->setMidiDriver(_player); parser->setTimerRate(_player->getBaseTempo()); + parser->property(MidiParser::mpCenterPitchWheelOnUnload, 1); _player->_parser = parser; _player->setVolume(_vm->_musicVolume == 10 ? 255 : _vm->_musicVolume * 25); |