[Scummvm-git-logs] scummvm master -> 2597c83e55896770dda4ab3709352962d629ae4e
athrxx
noreply at scummvm.org
Fri Jun 7 15:45:19 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:
2597c83e55 SCUMM: (IMS) - fix warning / condition check
Commit: 2597c83e55896770dda4ab3709352962d629ae4e
https://github.com/scummvm/scummvm/commit/2597c83e55896770dda4ab3709352962d629ae4e
Author: athrxx (athrxx at scummvm.org)
Date: 2024-06-07T17:44:13+02:00
Commit Message:
SCUMM: (IMS) - fix warning / condition check
Changed paths:
engines/scumm/imuse/imuse_player.cpp
diff --git a/engines/scumm/imuse/imuse_player.cpp b/engines/scumm/imuse/imuse_player.cpp
index 631308a4dda..7312a2521aa 100644
--- a/engines/scumm/imuse/imuse_player.cpp
+++ b/engines/scumm/imuse/imuse_player.cpp
@@ -477,7 +477,7 @@ uint16 Player::sysExNoDelay(const byte *msg, uint16 length) {
// just type 0, since that one leads to hardware messages. This is not a perfect solution, but it seems to work
// as intended.
- if (_isMT32 && (!_scanning && (msg[0] == IMUSE_SYSEX_ID && msg[1] == 0) || msg[0] == ROLAND_SYSEX_ID))
+ if (_isMT32 && !_scanning && ((msg[0] == IMUSE_SYSEX_ID && msg[1] == 0) || msg[0] == ROLAND_SYSEX_ID))
return length >= 25 ? 70 : 20;
return 0;
More information about the Scummvm-git-logs
mailing list