Fixed a bug in detectHires(), so that it actually works

svn-id: r49978
This commit is contained in:
Filippos Karapetis 2010-06-18 00:36:20 +00:00
parent 39e77edbb7
commit 660ae052c8

View file

@ -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))