[Scummvm-git-logs] scummvm master -> 412a61c7e68f67c14a3303d818e7637b551d866a

AndywinXp noreply at scummvm.org
Sun Dec 1 16:55: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:
412a61c7e6 SCUMM: HE: Clean up previous fix


Commit: 412a61c7e68f67c14a3303d818e7637b551d866a
    https://github.com/scummvm/scummvm/commit/412a61c7e68f67c14a3303d818e7637b551d866a
Author: AndywinXp (andywinxp at gmail.com)
Date: 2024-12-01T17:55:23+01:00

Commit Message:
SCUMM: HE: Clean up previous fix

Changed paths:
    engines/scumm/he/mixer_he.cpp


diff --git a/engines/scumm/he/mixer_he.cpp b/engines/scumm/he/mixer_he.cpp
index 668c9709e5e..b6a3cb405e2 100644
--- a/engines/scumm/he/mixer_he.cpp
+++ b/engines/scumm/he/mixer_he.cpp
@@ -541,7 +541,7 @@ bool HEMixer::mixerStartChannel(
 	}
 
 	bool hasCallbackData = false;
-	if ((flags & CHANNEL_CALLBACK_EARLY) && !(_mixerChannels[channel].flags & CHANNEL_LOOPING)) {
+	if ((flags & CHANNEL_CALLBACK_EARLY) && !(flags & CHANNEL_LOOPING)) {
 		va_start(params, flags);
 		_mixerChannels[channel].endSampleAdjustment = va_arg(params, int);
 		va_end(params);




More information about the Scummvm-git-logs mailing list