SCUMM: (IMS) - fix warning / condition check

This commit is contained in:
athrxx 2024-06-07 17:42:42 +02:00
parent 72773cf718
commit 2597c83e55

View File

@ -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;