aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2008-11-11 23:35:18 +0000
committerFilippos Karapetis2008-11-11 23:35:18 +0000
commitc36a8c1c727f8e44eaaa90217d94d28eb1ed0377 (patch)
tree3e3394f6ec74a07bc4bb1b8c49b9fecc4ba6f3a9
parenta0528c87ca7e06994aea61cd0d79a081999b18e4 (diff)
downloadscummvm-rg350-c36a8c1c727f8e44eaaa90217d94d28eb1ed0377.tar.gz
scummvm-rg350-c36a8c1c727f8e44eaaa90217d94d28eb1ed0377.tar.bz2
scummvm-rg350-c36a8c1c727f8e44eaaa90217d94d28eb1ed0377.zip
Added getMaximumSaveSlot definition for the sky engine
svn-id: r35011
-rw-r--r--engines/sky/sky.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sky/sky.cpp b/engines/sky/sky.cpp
index 7e8250aa1f..0fcd40b0bc 100644
--- a/engines/sky/sky.cpp
+++ b/engines/sky/sky.cpp
@@ -116,6 +116,7 @@ public:
virtual Common::Error createInstance(OSystem *syst, Engine **engine) const;
virtual SaveStateList listSaves(const char *target) const;
+ virtual int getMaximumSaveSlot() const;
};
const char *SkyMetaEngine::getName() const {
@@ -257,6 +258,8 @@ SaveStateList SkyMetaEngine::listSaves(const char *target) const {
return saveList;
}
+int SkyMetaEngine::getMaximumSaveSlot() const { return MAX_SAVE_GAMES; }
+
#if PLUGIN_ENABLED_DYNAMIC(SKY)
REGISTER_PLUGIN_DYNAMIC(SKY, PLUGIN_TYPE_ENGINE, SkyMetaEngine);
#else