aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2016-01-26 02:40:37 +0100
committerJohannes Schickel2016-01-26 16:35:30 +0100
commitd80e5e7f0cb6aa5fce34ef90f8d63a7e77637a79 (patch)
tree2f66eee34f46983aca62c31ed9971b22a39680a6
parent6665f81c2561cb285d6cf138afa963cff18277ae (diff)
downloadscummvm-rg350-d80e5e7f0cb6aa5fce34ef90f8d63a7e77637a79.tar.gz
scummvm-rg350-d80e5e7f0cb6aa5fce34ef90f8d63a7e77637a79.tar.bz2
scummvm-rg350-d80e5e7f0cb6aa5fce34ef90f8d63a7e77637a79.zip
DRACI: Only request actual save slots in listSaves.
-rw-r--r--engines/draci/detection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/draci/detection.cpp b/engines/draci/detection.cpp
index c7cfe227df..a32dae3216 100644
--- a/engines/draci/detection.cpp
+++ b/engines/draci/detection.cpp
@@ -117,7 +117,7 @@ bool DraciMetaEngine::hasFeature(MetaEngineFeature f) const {
SaveStateList DraciMetaEngine::listSaves(const char *target) const {
Common::SaveFileManager *saveFileMan = g_system->getSavefileManager();
Common::StringArray filenames;
- Common::String pattern("draci.s??");
+ Common::String pattern("draci.s##");
filenames = saveFileMan->listSavefiles(pattern);
sort(filenames.begin(), filenames.end()); // Sort (hopefully ensuring we are sorted numerically..)