diff options
author | Torbjörn Andersson | 2006-03-17 13:13:31 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2006-03-17 13:13:31 +0000 |
commit | 4df16b71b842c7777d1900b5494f4ede1d1bc8ef (patch) | |
tree | de15546899a0ef4720fb50cbb3c2ead20de60590 /engines/kyra | |
parent | e36edb1b3504165d4aad1c43e10f8722f4283956 (diff) | |
download | scummvm-rg350-4df16b71b842c7777d1900b5494f4ede1d1bc8ef.tar.gz scummvm-rg350-4df16b71b842c7777d1900b5494f4ede1d1bc8ef.tar.bz2 scummvm-rg350-4df16b71b842c7777d1900b5494f4ede1d1bc8ef.zip |
Oops, I never meant to remove *that* line! Put it back again. (This fixes the
flute sound, and probably other regressions as well.)
svn-id: r21345
Diffstat (limited to 'engines/kyra')
-rw-r--r-- | engines/kyra/sound_adlib.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/kyra/sound_adlib.cpp b/engines/kyra/sound_adlib.cpp index 4d3883931a..79a6c6191f 100644 --- a/engines/kyra/sound_adlib.cpp +++ b/engines/kyra/sound_adlib.cpp @@ -2200,6 +2200,7 @@ void SoundAdlibPC::playSoundEffect(uint8 track) { // would have if they were started from anywhere else. Strange. int newVal = ((((-_sfxFourthByteOfSong) + 63) * 0xFF) >> 8) & 0xFF; + newVal = -newVal + 63; _driver->callback(10, soundId, int(3), newVal); newVal = ((_sfxPriority * 0xFF) >> 8) & 0xFF; _driver->callback(10, soundId, int(1), newVal); |