aboutsummaryrefslogtreecommitdiff
path: root/engines/cge
diff options
context:
space:
mode:
authorJohannes Schickel2016-01-26 02:40:05 +0100
committerJohannes Schickel2016-01-26 16:35:30 +0100
commit24daecd8f3acb82ec6b0717da6eb2c27a7412bdd (patch)
tree1d6af5b2afc98e41f2d6b63dc01e6198bb3474fd /engines/cge
parent74a1587780f0324531b2bc57511a2bcded434764 (diff)
downloadscummvm-rg350-24daecd8f3acb82ec6b0717da6eb2c27a7412bdd.tar.gz
scummvm-rg350-24daecd8f3acb82ec6b0717da6eb2c27a7412bdd.tar.bz2
scummvm-rg350-24daecd8f3acb82ec6b0717da6eb2c27a7412bdd.zip
CGE: Only request actual save slots in listSaves.
Diffstat (limited to 'engines/cge')
-rw-r--r--engines/cge/detection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cge/detection.cpp b/engines/cge/detection.cpp
index da5eb2b1f2..47c5f56b6e 100644
--- a/engines/cge/detection.cpp
+++ b/engines/cge/detection.cpp
@@ -196,7 +196,7 @@ SaveStateList CGEMetaEngine::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..)