aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2016-01-26 02:43:12 +0100
committerJohannes Schickel2016-01-26 16:35:30 +0100
commitc15d2edecff4f38d6abe5cfbd5257cb58b895954 (patch)
tree4329c7558827e971da9ca336dfc88f641112e680 /engines
parentfee5944fe2b98b9f627bab88da936db4b36a9635 (diff)
downloadscummvm-rg350-c15d2edecff4f38d6abe5cfbd5257cb58b895954.tar.gz
scummvm-rg350-c15d2edecff4f38d6abe5cfbd5257cb58b895954.tar.bz2
scummvm-rg350-c15d2edecff4f38d6abe5cfbd5257cb58b895954.zip
SCI: Only request actual save slots in listSaves.
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/detection.cpp2
1 files changed, 1 insertions, 1 deletions
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..)