aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2016-01-26 02:43:19 +0100
committerJohannes Schickel2016-01-26 16:35:30 +0100
commitadd6c998ab92ceff0e56b554efd580f88ec29b26 (patch)
tree827d0ccf55eaeb7ad0367bb19c33c423dcebf20e /engines
parentc15d2edecff4f38d6abe5cfbd5257cb58b895954 (diff)
downloadscummvm-rg350-add6c998ab92ceff0e56b554efd580f88ec29b26.tar.gz
scummvm-rg350-add6c998ab92ceff0e56b554efd580f88ec29b26.tar.bz2
scummvm-rg350-add6c998ab92ceff0e56b554efd580f88ec29b26.zip
SCUMM: Only request actual save slots in listSaves.
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/detection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/detection.cpp b/engines/scumm/detection.cpp
index 45647c9bed..e5bbad15e6 100644
--- a/engines/scumm/detection.cpp
+++ b/engines/scumm/detection.cpp
@@ -1268,7 +1268,7 @@ SaveStateList ScummMetaEngine::listSaves(const char *target) const {
Common::StringArray filenames;
Common::String saveDesc;
Common::String pattern = target;
- pattern += ".s??";
+ pattern += ".s##";
filenames = saveFileMan->listSavefiles(pattern);
sort(filenames.begin(), filenames.end()); // Sort (hopefully ensuring we are sorted numerically..)