diff options
author | Martin Kiewitz | 2015-12-29 01:44:11 +0100 |
---|---|---|
committer | Martin Kiewitz | 2015-12-29 01:44:11 +0100 |
commit | 0dd760724e37b70bfaade2c34c12e34fab4d4b71 (patch) | |
tree | f44a01f75f84d65db8e2b737742085db9f878899 /engines/sci/engine/savegame.cpp | |
parent | 00e0d68a9f4b85ac66f757dd8603036b82a566e6 (diff) | |
download | scummvm-rg350-0dd760724e37b70bfaade2c34c12e34fab4d4b71.tar.gz scummvm-rg350-0dd760724e37b70bfaade2c34c12e34fab4d4b71.tar.bz2 scummvm-rg350-0dd760724e37b70bfaade2c34c12e34fab4d4b71.zip |
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
Diffstat (limited to 'engines/sci/engine/savegame.cpp')
-rw-r--r-- | engines/sci/engine/savegame.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/savegame.cpp b/engines/sci/engine/savegame.cpp index 93b3a997cc..b464d347bd 100644 --- a/engines/sci/engine/savegame.cpp +++ b/engines/sci/engine/savegame.cpp @@ -465,7 +465,7 @@ void Script::syncStringHeap(Common::Serializer &s) { break; } while (1); - } else if (getSciVersion() >= SCI_VERSION_1_1 && getSciVersion() <= SCI_VERSION_2_1){ + } else if (getSciVersion() >= SCI_VERSION_1_1 && getSciVersion() <= SCI_VERSION_2_1_LATE){ // Strings in SCI1.1 come after the object instances byte *buf = _heapStart + 4 + READ_SCI11ENDIAN_UINT16(_heapStart + 2) * 2; |