diff options
author | Filippos Karapetis | 2008-11-11 23:35:18 +0000 |
---|---|---|
committer | Filippos Karapetis | 2008-11-11 23:35:18 +0000 |
commit | c36a8c1c727f8e44eaaa90217d94d28eb1ed0377 (patch) | |
tree | 3e3394f6ec74a07bc4bb1b8c49b9fecc4ba6f3a9 /engines | |
parent | a0528c87ca7e06994aea61cd0d79a081999b18e4 (diff) | |
download | scummvm-rg350-c36a8c1c727f8e44eaaa90217d94d28eb1ed0377.tar.gz scummvm-rg350-c36a8c1c727f8e44eaaa90217d94d28eb1ed0377.tar.bz2 scummvm-rg350-c36a8c1c727f8e44eaaa90217d94d28eb1ed0377.zip |
Added getMaximumSaveSlot definition for the sky engine
svn-id: r35011
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sky/sky.cpp | 3 |
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 |