aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2016-01-26 02:43:35 +0100
committerJohannes Schickel2016-01-26 16:35:30 +0100
commitfda7ce1e14a3bfb96825b3879a7773f0e130b34b (patch)
treef9c8005935b6c732d1ff861c6c25387cf6859c4d /engines
parent0a670db0189e27a6ad7adc24f21c065a208309a7 (diff)
downloadscummvm-rg350-fda7ce1e14a3bfb96825b3879a7773f0e130b34b.tar.gz
scummvm-rg350-fda7ce1e14a3bfb96825b3879a7773f0e130b34b.tar.bz2
scummvm-rg350-fda7ce1e14a3bfb96825b3879a7773f0e130b34b.zip
SWORD1: Only request actual save slots in listSaves.
Diffstat (limited to 'engines')
-rw-r--r--engines/sword1/detection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword1/detection.cpp b/engines/sword1/detection.cpp
index 8a1f3dfef9..99c4bda9e9 100644
--- a/engines/sword1/detection.cpp
+++ b/engines/sword1/detection.cpp
@@ -240,7 +240,7 @@ SaveStateList SwordMetaEngine::listSaves(const char *target) const {
SaveStateList saveList;
char saveName[40];
- Common::StringArray filenames = saveFileMan->listSavefiles("sword1.???");
+ Common::StringArray filenames = saveFileMan->listSavefiles("sword1.###");
sort(filenames.begin(), filenames.end()); // Sort (hopefully ensuring we are sorted numerically..)
int slotNum = 0;