Fixed a bug in detectHires(), so that it actually works
svn-id: r49978
This commit is contained in:
parent
39e77edbb7
commit
660ae052c8
1 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue