aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/detection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/detection.cpp')
-rw-r--r--engines/sci/detection.cpp15
1 files changed, 14 insertions, 1 deletions
diff --git a/engines/sci/detection.cpp b/engines/sci/detection.cpp
index e3167503ee..5270398899 100644
--- a/engines/sci/detection.cpp
+++ b/engines/sci/detection.cpp
@@ -883,11 +883,24 @@ Common::Error SciEngine::saveGameState(int slot, const Common::String &desc) {
}
bool SciEngine::canLoadGameStateCurrently() {
+#ifdef ENABLE_SCI32
+ if (getSciVersion() >= SCI_VERSION_2) {
+ switch (getGameId()) {
+ case GID_PHANTASMAGORIA:
+ case GID_HOYLE5:
+ return false;
+ default:
+ break;
+ }
+ }
+#endif
+
return !_gamestate->executionStackBase;
}
bool SciEngine::canSaveGameStateCurrently() {
- return !_gamestate->executionStackBase;
+ // see comment about kSupportsSavingDuringRuntime in SciEngine::hasFeature
+ return false;
}
} // End of namespace Sci