From 543610d4d4a7458ac99e0126e03e96ab581adf68 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Fri, 18 Jun 2010 12:15:33 +0000 Subject: Don't throw a warning when we can't find hires content svn-id: r50015 --- engines/sci/resource.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'engines/sci') 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"); -- cgit v1.2.3