From da771b91e6144f0c50c22c643edd998f32c12ac5 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Wed, 3 Feb 2010 21:59:41 +0000 Subject: SCI: we checked first cel size when detecting hires instead of actual picture resolution, now checking correctly svn-id: r47865 --- engines/sci/resource.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines') 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)) -- cgit v1.2.3