aboutsummaryrefslogtreecommitdiff
path: root/engines/supernova/detection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/supernova/detection.cpp')
-rw-r--r--engines/supernova/detection.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/supernova/detection.cpp b/engines/supernova/detection.cpp
index 3e1082c7b0..5770871406 100644
--- a/engines/supernova/detection.cpp
+++ b/engines/supernova/detection.cpp
@@ -81,7 +81,7 @@ public:
virtual SaveStateList listSaves(const char *target) const;
virtual void removeSaveState(const char *target, int slot) const;
virtual int getMaximumSaveSlot() const {
- return 10;
+ return 99;
}
};
@@ -108,7 +108,7 @@ bool SupernovaMetaEngine::createInstance(OSystem *syst, Engine **engine, const A
SaveStateList SupernovaMetaEngine::listSaves(const char *target) const {
Common::StringArray filenames;
- Common::String pattern("msn_save.##");
+ Common::String pattern("msn_save.###");
filenames = g_system->getSavefileManager()->listSavefiles(pattern);
@@ -134,7 +134,7 @@ SaveStateList SupernovaMetaEngine::listSaves(const char *target) const {
}
void SupernovaMetaEngine::removeSaveState(const char *target, int slot) const {
- Common::String filename = Common::String::format("msn_save.%02d", slot);
+ Common::String filename = Common::String::format("msn_save.%03d", slot);
g_system->getSavefileManager()->removeSavefile(filename);
}