diff options
author | Matthew Hoops | 2011-02-05 08:18:03 +0000 |
---|---|---|
committer | Matthew Hoops | 2011-02-05 08:18:03 +0000 |
commit | a08fa00d49afef7f31970dd6f4712d4243377e52 (patch) | |
tree | babf7628adb39562099c6bcee1f8d1db6de94ab3 | |
parent | 53d862af0be3cdec5231f065e05fb80260ec9429 (diff) | |
download | scummvm-rg350-a08fa00d49afef7f31970dd6f4712d4243377e52.tar.gz scummvm-rg350-a08fa00d49afef7f31970dd6f4712d4243377e52.tar.bz2 scummvm-rg350-a08fa00d49afef7f31970dd6f4712d4243377e52.zip |
SCI: Fix detectHires() for Mac SCI32 games
svn-id: r55781
-rw-r--r-- | engines/sci/resource.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/resource.cpp b/engines/sci/resource.cpp index 0e2bc44476..8cce04cb1f 100644 --- a/engines/sci/resource.cpp +++ b/engines/sci/resource.cpp @@ -2375,10 +2375,10 @@ bool ResourceManager::detectHires() { Resource *res = findResource(ResourceId(kResourceTypePic, i), 0); if (res) { - if (READ_LE_UINT16(res->data) == 0x0e) { + if (READ_SCI11ENDIAN_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_SCI11ENDIAN_UINT16(res->data + 10); + uint16 height = READ_SCI11ENDIAN_UINT16(res->data + 12); // Surely lowres (e.g. QFG4CD) if ((width == 320) && ((height == 190) || (height == 200))) return false; |