aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorBastien Bouclet2016-09-26 05:51:07 +0200
committerBastien Bouclet2016-09-26 05:51:07 +0200
commit6dae7a33ce6e6e6c722d8fc6f45d936482749a54 (patch)
tree688d453cc79c8e81ac22cf8528aa2539e912efa6 /engines
parentde9e2499aee9912186ce020584210c9b0f6b6254 (diff)
downloadscummvm-rg350-6dae7a33ce6e6e6c722d8fc6f45d936482749a54.tar.gz
scummvm-rg350-6dae7a33ce6e6e6c722d8fc6f45d936482749a54.tar.bz2
scummvm-rg350-6dae7a33ce6e6e6c722d8fc6f45d936482749a54.zip
MOHAWK: Hide some warnings
Fixes #9571, fixes #9572.
Diffstat (limited to 'engines')
-rw-r--r--engines/mohawk/myst.cpp2
-rw-r--r--engines/mohawk/myst_areas.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/mohawk/myst.cpp b/engines/mohawk/myst.cpp
index 3c00c1e11b..6b91e74bb2 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 4b9cf546fa..8514cd5406 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;
}