diff options
author | Johannes Schickel | 2016-01-26 02:43:35 +0100 |
---|---|---|
committer | Johannes Schickel | 2016-01-26 16:35:30 +0100 |
commit | fda7ce1e14a3bfb96825b3879a7773f0e130b34b (patch) | |
tree | f9c8005935b6c732d1ff861c6c25387cf6859c4d /engines/sword1 | |
parent | 0a670db0189e27a6ad7adc24f21c065a208309a7 (diff) | |
download | scummvm-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/sword1')
-rw-r--r-- | engines/sword1/detection.cpp | 2 |
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; |