diff options
Diffstat (limited to 'engines')
-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); |