[Scummvm-git-logs] scummvm master -> 83eff67d6697eda2ea618c5babb0ab6ebdd3c76e
athrxx
noreply at scummvm.org
Fri Nov 29 23:27:03 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:
83eff67d66 SCUMM: (IMS/Mac) - add debug level to debug message
Commit: 83eff67d6697eda2ea618c5babb0ab6ebdd3c76e
https://github.com/scummvm/scummvm/commit/83eff67d6697eda2ea618c5babb0ab6ebdd3c76e
Author: athrxx (athrxx at scummvm.org)
Date: 2024-11-30T00:26:36+01:00
Commit Message:
SCUMM: (IMS/Mac) - add debug level to debug message
(fixing last commit)
Changed paths:
engines/scumm/players/player_mac_new.cpp
diff --git a/engines/scumm/players/player_mac_new.cpp b/engines/scumm/players/player_mac_new.cpp
index 61386d15ab7..2fa9abb7e80 100644
--- a/engines/scumm/players/player_mac_new.cpp
+++ b/engines/scumm/players/player_mac_new.cpp
@@ -1296,11 +1296,11 @@ MacSndResource::MacSndResource(uint32 id, const byte *in, uint32 size) : _id(id)
size -= 22;
if (_snd.len > size) {
- debug("%s(): Invalid data in resource '%d' - Fixing out of range samples count (samples buffer size '%d', samples count '%d')", __FUNCTION__, id, size, _snd.len);
+ debug(6, "%s(): Invalid data in resource '%d' - Fixing out of range samples count (samples buffer size '%d', samples count '%d')", __FUNCTION__, id, size, _snd.len);
_snd.len = size;
}
if ((int32)_snd.loopend > (int32)size) {
- debug("%s(): Invalid data in resource '%d' - Fixing out of range loop end (samples buffer size '%d', loop end '%d')", __FUNCTION__, id, size, _snd.loopend);
+ debug(6, "%s(): Invalid data in resource '%d' - Fixing out of range loop end (samples buffer size '%d', loop end '%d')", __FUNCTION__, id, size, _snd.loopend);
_snd.loopend = size;
}
More information about the Scummvm-git-logs
mailing list