Skip to content

Commit

Permalink
HOPKINS: 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 8f77efa commit e1a5cfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/hopkins/detection.cpp
Expand Up @@ -150,7 +150,7 @@ SaveStateList HopkinsMetaEngine::listSaves(const char *target) const {
Common::SaveFileManager *saveFileMan = g_system->getSavefileManager();
Common::StringArray filenames;
Common::String saveDesc;
Common::String pattern = Common::String::format("%s.0??", target);
Common::String pattern = Common::String::format("%s.0##", target);

filenames = saveFileMan->listSavefiles(pattern);
sort(filenames.begin(), filenames.end()); // Sort to get the files in numerical order
Expand Down

0 comments on commit e1a5cfa

Please sign in to comment.