mirror of https://github.com/mgba-emu/mgba.git
mGUI: Make "bios" name check case-insensitive
This commit is contained in:
parent
0a36069315
commit
abf0848421
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue