Skip to content

Commit

Permalink
CGE2: Only request actual save slots in listSaves.
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Schickel committed Jan 26, 2016
1 parent 24daecd commit 1e64b4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/cge2/detection.cpp
Expand Up @@ -196,7 +196,7 @@ SaveStateList CGE2MetaEngine::listSaves(const char *target) const {
Common::SaveFileManager *saveFileMan = g_system->getSavefileManager();
Common::StringArray filenames;
Common::String pattern = target;
pattern += ".???";
pattern += ".###";

filenames = saveFileMan->listSavefiles(pattern);
sort(filenames.begin(), filenames.end()); // Sort (hopefully ensuring we are sorted numerically..)
Expand Down

0 comments on commit 1e64b4d

Please sign in to comment.