diff options
Diffstat (limited to 'engines/cine')
-rw-r--r-- | engines/cine/detection.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/engines/cine/detection.cpp b/engines/cine/detection.cpp index 40e79f96ac..dac7add16b 100644 --- a/engines/cine/detection.cpp +++ b/engines/cine/detection.cpp @@ -135,7 +135,7 @@ SaveStateList CineMetaEngine::listSaves(const char *target) const { SaveStateList saveList; Common::String pattern = target; - pattern += ".?"; + pattern += ".#"; Common::StringArray filenames = saveFileMan->listSavefiles(pattern); sort(filenames.begin(), filenames.end()); Common::StringArray::const_iterator file; @@ -156,10 +156,6 @@ SaveStateList CineMetaEngine::listSaves(const char *target) const { CommandeType saveDesc; for (file = filenames.begin(); file != filenames.end(); ++file) { - // Jump over savegame files that don't end with a digit (e.g. "fw.3" is ok, "fw.a" is not). - if (!Common::isDigit(file->lastChar())) - continue; - // Obtain the last digit of the filename, since they correspond to the save slot int slotNum = atoi(file->c_str() + file->size() - 1); |