aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2016-01-26 02:46:13 +0100
committerJohannes Schickel2016-01-26 16:35:30 +0100
commit6b7d0554a415f43e4b25373223bdd8115f588982 (patch)
treeab079aee247ff7d05499f4c232096aa3b5e2dc97
parenta0750ab487d8fa45818c95061a0211b9debc350d (diff)
downloadscummvm-rg350-6b7d0554a415f43e4b25373223bdd8115f588982.tar.gz
scummvm-rg350-6b7d0554a415f43e4b25373223bdd8115f588982.tar.bz2
scummvm-rg350-6b7d0554a415f43e4b25373223bdd8115f588982.zip
VOYEUR: Only request actual save slots in listSaves.
-rw-r--r--engines/voyeur/detection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/voyeur/detection.cpp b/engines/voyeur/detection.cpp
index 3503eb11ef..80a23d3c35 100644
--- a/engines/voyeur/detection.cpp
+++ b/engines/voyeur/detection.cpp
@@ -114,7 +114,7 @@ SaveStateList VoyeurMetaEngine::listSaves(const char *target) const {
Common::SaveFileManager *saveFileMan = g_system->getSavefileManager();
Common::StringArray filenames;
Common::String saveDesc;
- Common::String pattern = Common::String::format("%s.0??", target);
+ Common::String pattern = Common::String::format("%s.0##", target);
filenames = saveFileMan->listSavefiles(pattern);
sort(filenames.begin(), filenames.end()); // Sort to get the files in numerical order