[Scummvm-git-logs] scummvm master -> 2b17aaad1127c4333a1f324dac505b634658f7e7
sev-
noreply at scummvm.org
Tue Aug 27 13:35:52 UTC 2024
This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
75bbe8578f QDENGINE: Report unsupported animation format load attempts
2b17aaad11 QDENGINE: Improved debug output
Commit: 75bbe8578fde967cb0f722b680f2275986f97751
https://github.com/scummvm/scummvm/commit/75bbe8578fde967cb0f722b680f2275986f97751
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2024-08-27T15:34:07+02:00
Commit Message:
QDENGINE: Report unsupported animation format load attempts
Changed paths:
engines/qdengine/qdcore/qd_animation.cpp
diff --git a/engines/qdengine/qdcore/qd_animation.cpp b/engines/qdengine/qdcore/qd_animation.cpp
index 30d4d21e24b..fcb6a8193d7 100644
--- a/engines/qdengine/qdcore/qd_animation.cpp
+++ b/engines/qdengine/qdcore/qd_animation.cpp
@@ -555,6 +555,9 @@ bool qdAnimation::qda_load(Common::Path fpath) {
tile_flag = fh->readByte();
}
+ if (version > 104)
+ warning("qdAnimation::qda_load(): Animation version > 104: %d, '%s'", version, transCyrillic(fpath.toString()));
+
if (!tile_flag) {
if (num_scales) {
_scales.resize(num_scales);
Commit: 2b17aaad1127c4333a1f324dac505b634658f7e7
https://github.com/scummvm/scummvm/commit/2b17aaad1127c4333a1f324dac505b634658f7e7
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2024-08-27T15:35:37+02:00
Commit Message:
QDENGINE: Improved debug output
Changed paths:
engines/qdengine/system/sound/wav_sound.cpp
diff --git a/engines/qdengine/system/sound/wav_sound.cpp b/engines/qdengine/system/sound/wav_sound.cpp
index 1331250ef91..95ed81c3ba5 100644
--- a/engines/qdengine/system/sound/wav_sound.cpp
+++ b/engines/qdengine/system/sound/wav_sound.cpp
@@ -86,7 +86,7 @@ bool wavSound::wav_file_load(const Common::Path fpath) {
int blockAlign;
if (!Audio::loadWAVFromStream(*stream, size, rate, flags, &type, &blockAlign)) {
- warning("Error loading wav file header: '%s", fpath.toString().c_str());
+ warning("Error loading wav file header: '%s", transCyrillic(fpath.toString()));
delete stream;
return false;
}
More information about the Scummvm-git-logs
mailing list