mGUI: Make "bios" name check case-insensitive

This commit is contained in:
Vicki Pfau 2023-05-08 00:41:58 -07:00
parent 0a36069315
commit abf0848421
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ static bool _biosNamed(const char* name) {
char ext[PATH_MAX + 1] = {};
separatePath(name, NULL, NULL, ext);
if (strstr(name, "bios")) {
if (strcasestr(name, "bios")) {
return true;
}
if (!strncmp(ext, "bin", PATH_MAX)) {