Skip to content

Commit

Permalink
Make title ID check case-insensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
vaguerant authored and GaryOderNichts committed Feb 16, 2023
1 parent 96b2669 commit d3df48f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/source/config/ConfigItemSelectAmiibo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ static void enterSelectionMenu(ConfigItemSelectAmiibo* item)

for (ListEntry& e : entries) {
if (e.type == LIST_ENTRY_TYPE_DIR) {
if (e.name.starts_with(titleIdString)) {
if (strncasecmp(e.name.c_str(), titleIdString, 16) == 0) {
// open it if there is
item->currentPath += e.name + "/";
openTidFolder = false;
Expand Down

0 comments on commit d3df48f

Please sign in to comment.