From fe943e04e3b56e6116fe7b7e0fc6aee243785790 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Tue, 26 Jan 2016 02:42:46 +0100 Subject: PARALLACTION: Only request actual save slots in listSaves. --- engines/parallaction/detection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/parallaction') 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..) -- cgit v1.2.3