Ticket #3194: 1722153.diff
File 1722153.diff, 998 bytes (added by , 17 years ago) |
---|
-
scumm/saveload.h
47 47 * only saves/loads those which are valid for the version of the savegame 48 48 * which is being loaded/saved currently. 49 49 */ 50 #define CURRENT_VER 7 150 #define CURRENT_VER 72 51 51 52 52 /** 53 53 * An auxillary macro, used to specify savegame versions. We use this instead -
scumm/saveload.cpp
1152 1152 if (_imuse && (_saveSound || !_saveTemporaryState)) { 1153 1153 _imuse->save_or_load(s, this); 1154 1154 } 1155 1156 // 1157 // Save/load the charset renderer state 1158 // 1159 if (s->getVersion() >= VER(72)) { 1160 if (s->isSaving()) { 1161 s->saveByte(_charset->getCurID()); 1162 } else { 1163 _charset->setCurID(s->loadByte()); 1164 } 1165 } 1155 1166 } 1156 1167 1157 1168 void ScummEngine_v0::saveOrLoad(Serializer *s) {