aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/supernova/detection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/supernova/detection.cpp b/engines/supernova/detection.cpp
index e3f485686d..61a99f083c 100644
--- a/engines/supernova/detection.cpp
+++ b/engines/supernova/detection.cpp
@@ -134,7 +134,7 @@ SaveStateList SupernovaMetaEngine::listSaves(const char *target) const {
SaveStateList saveFileList;
for (Common::StringArray::const_iterator file = filenames.begin();
file != filenames.end(); ++file) {
- int saveSlot = atoi(file->c_str() + file->size() - 2);
+ int saveSlot = atoi(file->c_str() + file->size() - 3);
if (saveSlot >= 0 && saveSlot <= getMaximumSaveSlot()) {
Common::InSaveFile *savefile = g_system->getSavefileManager()->openForLoading(*file);
if (savefile) {