From c15d2edecff4f38d6abe5cfbd5257cb58b895954 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Tue, 26 Jan 2016 02:43:12 +0100 Subject: SCI: Only request actual save slots in listSaves. --- engines/sci/detection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sci') diff --git a/engines/sci/detection.cpp b/engines/sci/detection.cpp index 20894eb4c5..7c70600f6c 100644 --- a/engines/sci/detection.cpp +++ b/engines/sci/detection.cpp @@ -724,7 +724,7 @@ SaveStateList SciMetaEngine::listSaves(const char *target) const { Common::SaveFileManager *saveFileMan = g_system->getSavefileManager(); Common::StringArray filenames; Common::String pattern = target; - pattern += ".???"; + pattern += ".###"; filenames = saveFileMan->listSavefiles(pattern); sort(filenames.begin(), filenames.end()); // Sort (hopefully ensuring we are sorted numerically..) -- cgit v1.2.3