SCI32: split up SCI2.1 into EARLY/MIDDLE/LATE
- Detection works via signatures (couldn't find a better way) - new kString subcalls were introduced SCI2.1 LATE - kString now has signatures and is split via subcall table - kString fix, so that KQ7 doesn't crash, when starting a chapter - Sci2StringFunctionType removed, because no longer needed
This commit is contained in:
parent
00e0d68a9f
commit
0dd760724e
32 changed files with 510 additions and 366 deletions
|
@ -49,7 +49,7 @@ uint16 READ_SCI11ENDIAN_UINT16(const void *ptr) {
|
|||
}
|
||||
|
||||
uint16 READ_SCI32ENDIAN_UINT16(const void *ptr) {
|
||||
if (g_sci->getPlatform() == Common::kPlatformMacintosh && getSciVersion() >= SCI_VERSION_2_1)
|
||||
if (g_sci->getPlatform() == Common::kPlatformMacintosh && getSciVersion() >= SCI_VERSION_2_1_EARLY)
|
||||
return READ_BE_UINT16(ptr);
|
||||
else
|
||||
return READ_LE_UINT16(ptr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue