Skip to content

Commit

Permalink
HUGO: 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 e1a5cfa commit 0fa1303
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/hugo/detection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ SaveStateList HugoMetaEngine::listSaves(const char *target) const {
Common::SaveFileManager *saveFileMan = g_system->getSavefileManager();
Common::StringArray filenames;
Common::String pattern = target;
pattern += "-??.SAV";
pattern += "-##.SAV";

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

0 comments on commit 0fa1303

Please sign in to comment.