aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorFilippos Karapetis2010-06-18 12:15:33 +0000
committerFilippos Karapetis2010-06-18 12:15:33 +0000
commit543610d4d4a7458ac99e0126e03e96ab581adf68 (patch)
tree5813582ffd8c5e6a6dc69959a22309077254cbbf /engines/sci
parent8ade66ba132a9ca929838722aa67857666871c6f (diff)
downloadscummvm-rg350-543610d4d4a7458ac99e0126e03e96ab581adf68.tar.gz
scummvm-rg350-543610d4d4a7458ac99e0126e03e96ab581adf68.tar.bz2
scummvm-rg350-543610d4d4a7458ac99e0126e03e96ab581adf68.zip
Don't throw a warning when we can't find hires content
svn-id: r50015
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/resource.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/sci/resource.cpp b/engines/sci/resource.cpp
index 6e739a5247..075d104f3e 100644
--- a/engines/sci/resource.cpp
+++ b/engines/sci/resource.cpp
@@ -1911,16 +1911,18 @@ bool ResourceManager::detectHires() {
// SCI32 picture
uint16 width = READ_LE_UINT16(res->data + 10);
uint16 height = READ_LE_UINT16(res->data + 12);
+ // Surely lowres (e.g. QFG4CD)
if ((width == 320) && ((height == 190) || (height == 200)))
return false;
+ // Surely hires
if ((width >= 600) || (height >= 400))
return true;
}
}
}
- // This is fine for (some?) low-res sci32 games, because in those games the picture size is specified as 0, 0
- warning("resMan: Couldn't detect hires");
+ // We haven't been able to find hires content
+
return false;
#else
error("no sci32 support");