From 4d7dda0b5cb9515d71c58393ff446534f7bb608b Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Tue, 26 Jan 2016 02:41:44 +0100 Subject: KYRA: Only request actual save slots in listSaves. --- engines/kyra/detection.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'engines/kyra') diff --git a/engines/kyra/detection.cpp b/engines/kyra/detection.cpp index 95c4accd29..a4786ef583 100644 --- a/engines/kyra/detection.cpp +++ b/engines/kyra/detection.cpp @@ -242,7 +242,7 @@ SaveStateList KyraMetaEngine::listSaves(const char *target) const { Common::SaveFileManager *saveFileMan = g_system->getSavefileManager(); Kyra::KyraEngine_v1::SaveHeader header; Common::String pattern = target; - pattern += ".???"; + pattern += ".###"; Common::StringArray filenames; filenames = saveFileMan->listSavefiles(pattern); @@ -250,10 +250,6 @@ SaveStateList KyraMetaEngine::listSaves(const char *target) const { SaveStateList saveList; for (Common::StringArray::const_iterator file = filenames.begin(); file != filenames.end(); ++file) { - // Skip automatic final saves made by EOB for the purpose of party transfer - if (!scumm_stricmp(file->c_str() + file->size() - 3, "fin")) - continue; - // Obtain the last 3 digits of the filename, since they correspond to the save slot int slotNum = atoi(file->c_str() + file->size() - 3); -- cgit v1.2.3