aboutsummaryrefslogtreecommitdiff
path: root/engines/agi
diff options
context:
space:
mode:
authorJohannes Schickel2016-01-26 02:39:17 +0100
committerJohannes Schickel2016-01-26 16:35:30 +0100
commitdcc811be20c9404ce52ae46996eedb11432d1735 (patch)
tree04bdace873dc45626c434e62345df44d7a8f7064 /engines/agi
parentc022194275921c5aa0ca694cf0145704eda3cef5 (diff)
downloadscummvm-rg350-dcc811be20c9404ce52ae46996eedb11432d1735.tar.gz
scummvm-rg350-dcc811be20c9404ce52ae46996eedb11432d1735.tar.bz2
scummvm-rg350-dcc811be20c9404ce52ae46996eedb11432d1735.zip
AGI: Only request actual save slots in listSaves.
Diffstat (limited to 'engines/agi')
-rw-r--r--engines/agi/detection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agi/detection.cpp b/engines/agi/detection.cpp
index 823ec7be66..971b562aec 100644
--- a/engines/agi/detection.cpp
+++ b/engines/agi/detection.cpp
@@ -259,7 +259,7 @@ SaveStateList AgiMetaEngine::listSaves(const char *target) const {
Common::StringArray filenames;
char saveDesc[31];
Common::String pattern = target;
- pattern += ".???";
+ pattern += ".###";
filenames = saveFileMan->listSavefiles(pattern);
sort(filenames.begin(), filenames.end()); // Sort (hopefully ensuring we are sorted numerically..)