[Scummvm-git-logs] scummvm master -> 6dae7a33ce6e6e6c722d8fc6f45d936482749a54
bgK
bastien.bouclet at gmail.com
Mon Sep 26 05:52:57 CEST 2016
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:
6dae7a33ce MOHAWK: Hide some warnings
Commit: 6dae7a33ce6e6e6c722d8fc6f45d936482749a54
https://github.com/scummvm/scummvm/commit/6dae7a33ce6e6e6c722d8fc6f45d936482749a54
Author: Bastien Bouclet (bastien.bouclet at gmail.com)
Date: 2016-09-26T05:51:07+02:00
Commit Message:
MOHAWK: Hide some warnings
Fixes #9571, fixes #9572.
Changed paths:
engines/mohawk/myst.cpp
engines/mohawk/myst_areas.cpp
diff --git a/engines/mohawk/myst.cpp b/engines/mohawk/myst.cpp
index 3c00c1e..6b91e74 100644
--- a/engines/mohawk/myst.cpp
+++ b/engines/mohawk/myst.cpp
@@ -149,7 +149,7 @@ void MohawkEngine_Myst::cachePreload(uint32 tag, uint16 id) {
}
}
- warning("cachePreload: Could not find a \'%s\' resource with ID %04x", tag2str(tag), id);
+ debugC(kDebugCache, "cachePreload: Could not find a \'%s\' resource with ID %04x", tag2str(tag), id);
}
static const char *mystFiles[] = {
diff --git a/engines/mohawk/myst_areas.cpp b/engines/mohawk/myst_areas.cpp
index 4b9cf54..8514cd5 100644
--- a/engines/mohawk/myst_areas.cpp
+++ b/engines/mohawk/myst_areas.cpp
@@ -42,7 +42,7 @@ MystArea::MystArea(MohawkEngine_Myst *vm, Common::SeekableReadStream *rlstStream
_rect.top = rlstStream->readSint16LE();
if (_rect.top == -1) {
- warning("Invalid _rect.top of -1 found - clamping to 0");
+ debugC(kDebugResource, "Invalid _rect.top of -1 found - clamping to 0");
_rect.top = 0;
}
More information about the Scummvm-git-logs
mailing list