aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2016-01-26 02:42:46 +0100
committerJohannes Schickel2016-01-26 16:35:30 +0100
commitfe943e04e3b56e6116fe7b7e0fc6aee243785790 (patch)
treea09a528cd904f59d7aac4eb4d782a98471c08f23
parent31f8405e6ee8a2ab04163d4933b6b598c3e5fb22 (diff)
downloadscummvm-rg350-fe943e04e3b56e6116fe7b7e0fc6aee243785790.tar.gz
scummvm-rg350-fe943e04e3b56e6116fe7b7e0fc6aee243785790.tar.bz2
scummvm-rg350-fe943e04e3b56e6116fe7b7e0fc6aee243785790.zip
PARALLACTION: Only request actual save slots in listSaves.
-rw-r--r--engines/parallaction/detection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/parallaction/detection.cpp b/engines/parallaction/detection.cpp
index 277f1cbe69..daeee1fee4 100644
--- a/engines/parallaction/detection.cpp
+++ b/engines/parallaction/detection.cpp
@@ -271,7 +271,7 @@ bool ParallactionMetaEngine::createInstance(OSystem *syst, Engine **engine, cons
SaveStateList ParallactionMetaEngine::listSaves(const char *target) const {
Common::SaveFileManager *saveFileMan = g_system->getSavefileManager();
- Common::String pattern(ConfMan.getDomain(target)->getVal("gameid") + ".0??");
+ Common::String pattern(ConfMan.getDomain(target)->getVal("gameid") + ".0##");
Common::StringArray filenames = saveFileMan->listSavefiles(pattern);
sort(filenames.begin(), filenames.end()); // Sort (hopefully ensuring we are sorted numerically..)