aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sci/engine/kfile.cpp2
-rw-r--r--engines/sci/engine/savegame.h6
2 files changed, 6 insertions, 2 deletions
diff --git a/engines/sci/engine/kfile.cpp b/engines/sci/engine/kfile.cpp
index bdf9bb69aa..da4f65b1da 100644
--- a/engines/sci/engine/kfile.cpp
+++ b/engines/sci/engine/kfile.cpp
@@ -1279,7 +1279,7 @@ reg_t kCheckSaveGame32(EngineState *s, int argc, reg_t *argv) {
return NULL_REG;
}
- if (save.version < MINIMUM_SAVEGAME_VERSION ||
+ if (save.version < MINIMUM_SCI32_SAVEGAME_VERSION ||
save.version > CURRENT_SAVEGAME_VERSION ||
save.gameVersion != gameVersion) {
diff --git a/engines/sci/engine/savegame.h b/engines/sci/engine/savegame.h
index 72982469e0..b6a673b1c0 100644
--- a/engines/sci/engine/savegame.h
+++ b/engines/sci/engine/savegame.h
@@ -37,7 +37,7 @@ struct EngineState;
*
* Version - new/changed feature
* =============================
- * 41 - palette support for newer SCI2.1 games
+ * 41 - palette support for newer SCI2.1 games; stable SCI2/2.1 save games
* 40 - always store palvary variables
* 39 - Accurate SCI32 arrays/strings, score metadata, avatar metadata
* 38 - SCI32 cursor
@@ -68,6 +68,10 @@ struct EngineState;
enum {
CURRENT_SAVEGAME_VERSION = 41,
MINIMUM_SAVEGAME_VERSION = 14
+#ifdef ENABLE_SCI32
+ ,
+ MINIMUM_SCI32_SAVEGAME_VERSION = 41
+#endif
};
// Savegame metadata