aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2010-06-18 00:36:20 +0000
committerFilippos Karapetis2010-06-18 00:36:20 +0000
commit660ae052c88fc2e209dde87595799bff8b2bd09b (patch)
tree7d9e19f73f97f2b65bc4c9fd97fef99d98dd669c
parent39e77edbb71f04dc1436db152849aec1cd09e873 (diff)
downloadscummvm-rg350-660ae052c88fc2e209dde87595799bff8b2bd09b.tar.gz
scummvm-rg350-660ae052c88fc2e209dde87595799bff8b2bd09b.tar.bz2
scummvm-rg350-660ae052c88fc2e209dde87595799bff8b2bd09b.zip
Fixed a bug in detectHires(), so that it actually works
svn-id: r49978
-rw-r--r--engines/sci/resource.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/resource.cpp b/engines/sci/resource.cpp
index e59f69513c..b71c6b9317 100644
--- a/engines/sci/resource.cpp
+++ b/engines/sci/resource.cpp
@@ -1909,8 +1909,8 @@ bool ResourceManager::detectHires() {
if (res) {
if (READ_LE_UINT16(res->data) == 0x0e) {
// SCI32 picture
- uint16 width = READ_LE_UINT16(res->data + 10);
- uint16 height = READ_LE_UINT16(res->data + 12);
+ uint16 width = READ_LE_UINT16(res->data + 14);
+ uint16 height = READ_LE_UINT16(res->data + 16);
if ((width == 320) && ((height == 190) || (height == 200)))
return false;
if ((width >= 600) || (height >= 400))