Skip to content

Commit

Permalink
toolbox: dont show .cue files in list
Browse files Browse the repository at this point in the history
  • Loading branch information
erichelgeson committed Oct 12, 2023
1 parent 58a3c71 commit eec90b9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/BlueSCSI_Toolbox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@ bool toolboxFilenameValid(const char* name)
debuglog("toolbox: Ignoring filename empty file name");
return false;
}
const char *extension = strrchr(name, '.');
if (extension && strcasecmp(extension, ".cue") == 0)
{
debuglog("toolbox: Ignoring .cue ", name);
return false;
}

return true;
}

Expand Down

0 comments on commit eec90b9

Please sign in to comment.