Skip to content

Commit

Permalink
SWORD1: 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 0a670db commit fda7ce1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/sword1/detection.cpp
Expand Up @@ -240,7 +240,7 @@ SaveStateList SwordMetaEngine::listSaves(const char *target) const {
SaveStateList saveList;
char saveName[40];

Common::StringArray filenames = saveFileMan->listSavefiles("sword1.???");
Common::StringArray filenames = saveFileMan->listSavefiles("sword1.###");
sort(filenames.begin(), filenames.end()); // Sort (hopefully ensuring we are sorted numerically..)

int slotNum = 0;
Expand Down

0 comments on commit fda7ce1

Please sign in to comment.