SCI: Fix SCI32 Mac fonts
svn-id: r55725
This commit is contained in:
parent
f1f86646de
commit
d3e30f3038
3 changed files with 14 additions and 3 deletions
|
@ -37,6 +37,13 @@ uint16 READ_SCI11ENDIAN_UINT16(const void *ptr) {
|
|||
return READ_LE_UINT16(ptr);
|
||||
}
|
||||
|
||||
uint16 READ_SCI32ENDIAN_UINT16(const void *ptr) {
|
||||
if (g_sci->getPlatform() == Common::kPlatformMacintosh && getSciVersion() >= SCI_VERSION_2_1)
|
||||
return READ_BE_UINT16(ptr);
|
||||
|
||||
return READ_LE_UINT16(ptr);
|
||||
}
|
||||
|
||||
uint32 READ_SCI11ENDIAN_UINT32(const void *ptr) {
|
||||
if (g_sci->getPlatform() == Common::kPlatformMacintosh && getSciVersion() >= SCI_VERSION_1_1)
|
||||
return READ_BE_UINT32(ptr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue