[Scummvm-git-logs] scummvm master -> 74cfff3be7fdd1b76ba6b9af8ab075e5a752ffd7
dreammaster
noreply at scummvm.org
Thu Feb 15 03:48:28 UTC 2024
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:
74cfff3be7 M4: Fix release_trigger_digi_check to properly wait for sounds to finish
Commit: 74cfff3be7fdd1b76ba6b9af8ab075e5a752ffd7
https://github.com/scummvm/scummvm/commit/74cfff3be7fdd1b76ba6b9af8ab075e5a752ffd7
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2024-02-14T19:48:14-08:00
Commit Message:
M4: Fix release_trigger_digi_check to properly wait for sounds to finish
Changed paths:
engines/m4/burger/core/release_trigger.cpp
diff --git a/engines/m4/burger/core/release_trigger.cpp b/engines/m4/burger/core/release_trigger.cpp
index 25e247aa004..69d2395656a 100644
--- a/engines/m4/burger/core/release_trigger.cpp
+++ b/engines/m4/burger/core/release_trigger.cpp
@@ -44,7 +44,7 @@ void release_trigger_digi_check() {
// Set channel bits in digi_state that a sound is presently busy in each channel
for (i = 0; i < 3; ++i) {
- if (digi_play_state(i)) // Check if a sound is playing
+ if (digi_play_state(i + 1)) // Check if a sound is playing
digi_state |= (1 << i); // Set the bit that corresponds with this channel
}
More information about the Scummvm-git-logs
mailing list