aboutsummaryrefslogtreecommitdiff
path: root/engines/cge2
diff options
context:
space:
mode:
authorJohannes Schickel2016-01-26 02:40:10 +0100
committerJohannes Schickel2016-01-26 16:35:30 +0100
commit1e64b4dd53900da21bef55f90124fdb94b1441ef (patch)
tree583d0d86b1199d37736411d78b03cc54da407eff /engines/cge2
parent24daecd8f3acb82ec6b0717da6eb2c27a7412bdd (diff)
downloadscummvm-rg350-1e64b4dd53900da21bef55f90124fdb94b1441ef.tar.gz
scummvm-rg350-1e64b4dd53900da21bef55f90124fdb94b1441ef.tar.bz2
scummvm-rg350-1e64b4dd53900da21bef55f90124fdb94b1441ef.zip
CGE2: Only request actual save slots in listSaves.
Diffstat (limited to 'engines/cge2')
-rw-r--r--engines/cge2/detection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cge2/detection.cpp b/engines/cge2/detection.cpp
index 4acdea3fde..a1867b0dfe 100644
--- a/engines/cge2/detection.cpp
+++ b/engines/cge2/detection.cpp
@@ -196,7 +196,7 @@ SaveStateList CGE2MetaEngine::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..)