mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-04 09:18:38 +00:00
SCI: Fix detectHires() for Mac SCI32 games
svn-id: r55781
This commit is contained in:
parent
53d862af0b
commit
a08fa00d49
@ -2375,10 +2375,10 @@ bool ResourceManager::detectHires() {
|
|||||||
Resource *res = findResource(ResourceId(kResourceTypePic, i), 0);
|
Resource *res = findResource(ResourceId(kResourceTypePic, i), 0);
|
||||||
|
|
||||||
if (res) {
|
if (res) {
|
||||||
if (READ_LE_UINT16(res->data) == 0x0e) {
|
if (READ_SCI11ENDIAN_UINT16(res->data) == 0x0e) {
|
||||||
// SCI32 picture
|
// SCI32 picture
|
||||||
uint16 width = READ_LE_UINT16(res->data + 10);
|
uint16 width = READ_SCI11ENDIAN_UINT16(res->data + 10);
|
||||||
uint16 height = READ_LE_UINT16(res->data + 12);
|
uint16 height = READ_SCI11ENDIAN_UINT16(res->data + 12);
|
||||||
// Surely lowres (e.g. QFG4CD)
|
// Surely lowres (e.g. QFG4CD)
|
||||||
if ((width == 320) && ((height == 190) || (height == 200)))
|
if ((width == 320) && ((height == 190) || (height == 200)))
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user