diff options
Diffstat (limited to 'engines/macventure')
-rw-r--r-- | engines/macventure/detection.cpp | 1 | ||||
-rw-r--r-- | engines/macventure/macventure.h | 2 | ||||
-rw-r--r-- | engines/macventure/saveload.cpp | 8 |
3 files changed, 11 insertions, 0 deletions
diff --git a/engines/macventure/detection.cpp b/engines/macventure/detection.cpp index f4edaefa40..9bf94cfdd4 100644 --- a/engines/macventure/detection.cpp +++ b/engines/macventure/detection.cpp @@ -77,6 +77,7 @@ bool MacVentureMetaEngine::hasFeature(MetaEngineFeature f) const { bool MacVentureEngine::hasFeature(EngineFeature f) const { return + (f == kSupportsRTL) || (f == kSupportsLoadingDuringRuntime) || (f == kSupportsSavingDuringRuntime); } diff --git a/engines/macventure/macventure.h b/engines/macventure/macventure.h index 3e6f7c02ce..b4f8192ed7 100644 --- a/engines/macventure/macventure.h +++ b/engines/macventure/macventure.h @@ -186,6 +186,8 @@ public: virtual Common::Error run(); bool scummVMSaveLoadDialog(bool isSave); + bool canLoadGameStateCurrently(); + bool canSaveGameStateCurrently(); virtual Common::Error loadGameState(int slot); virtual Common::Error saveGameState(int slot, const Common::String &desc); diff --git a/engines/macventure/saveload.cpp b/engines/macventure/saveload.cpp index 1322a43510..95d290d87b 100644 --- a/engines/macventure/saveload.cpp +++ b/engines/macventure/saveload.cpp @@ -128,4 +128,12 @@ bool MacVentureEngine::scummVMSaveLoadDialog(bool isSave) { return saveGameState(slot, desc).getCode() == Common::kNoError; } +bool MacVentureEngine::canLoadGameStateCurrently() { + return true; +} + +bool MacVentureEngine::canSaveGameStateCurrently() { + return true; +} + } // End of namespace MacVenture |