[Scummvm-git-logs] scummvm master -> 963782877360c54f4f08ee7889c488a7d765d000
AndywinXp
noreply at scummvm.org
Tue Aug 22 14:14:38 UTC 2023
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
9637828773 SCUMM: HE (Sound): Fix bug #14583
Commit: 963782877360c54f4f08ee7889c488a7d765d000
https://github.com/scummvm/scummvm/commit/963782877360c54f4f08ee7889c488a7d765d000
Author: AndywinXp (andywinxp at gmail.com)
Date: 2023-08-22T16:14:26+02:00
Commit Message:
SCUMM: HE (Sound): Fix bug #14583
I forgot to initiate sound timers for spooled music below
HE version 80. Whoops!
Changed paths:
engines/scumm/he/sound_he.cpp
diff --git a/engines/scumm/he/sound_he.cpp b/engines/scumm/he/sound_he.cpp
index e74e9a18a7a..704f8bf38a6 100644
--- a/engines/scumm/he/sound_he.cpp
+++ b/engines/scumm/he/sound_he.cpp
@@ -928,6 +928,8 @@ void SoundHE::triggerSpoolingSound(int song, int offset, int channel, int flags,
_heChannel[channel].sound = song;
_heChannel[channel].priority = 255;
+ _vm->setHETimer(channel + HSND_TIMER_SLOT);
+
_vm->VAR(_vm->VAR_ERROR_FLAG) = 0;
return;
}
More information about the Scummvm-git-logs
mailing list