aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMartin Kiewitz2010-02-03 21:59:41 +0000
committerMartin Kiewitz2010-02-03 21:59:41 +0000
commitda771b91e6144f0c50c22c643edd998f32c12ac5 (patch)
tree47e1994d86f9a016929ae8d3ecea4f9886851757 /engines
parent51d03658184afe1a176863dec3bdbe00b162fffd (diff)
downloadscummvm-rg350-da771b91e6144f0c50c22c643edd998f32c12ac5.tar.gz
scummvm-rg350-da771b91e6144f0c50c22c643edd998f32c12ac5.tar.bz2
scummvm-rg350-da771b91e6144f0c50c22c643edd998f32c12ac5.zip
SCI: we checked first cel size when detecting hires instead of actual picture resolution, now checking correctly
svn-id: r47865
Diffstat (limited to 'engines')
-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 9791402e5f..ce0f8fdcc8 100644
--- a/engines/sci/resource.cpp
+++ b/engines/sci/resource.cpp
@@ -1894,8 +1894,8 @@ bool ResourceManager::detectHires() {
if (res) {
if (READ_LE_UINT16(res->data) == 0x0e) {
// SCI32 picture
- uint16 width = READ_LE_UINT16(res->data + 14);
- uint16 height = READ_LE_UINT16(res->data + 16);
+ uint16 width = READ_LE_UINT16(res->data + 10);
+ uint16 height = READ_LE_UINT16(res->data + 12);
if ((width == 320) && ((height == 190) || (height == 200)))
return false;
if ((width >= 600) || (height >= 400))