mirror of https://github.com/mgba-emu/mgba.git
mGUI: Fix non-portable function call
This commit is contained in:
parent
353176b1e1
commit
33692c5923
|
@ -25,7 +25,7 @@ static bool _biosNamed(const char* name) {
|
|||
char ext[PATH_MAX + 1] = {};
|
||||
separatePath(name, NULL, NULL, ext);
|
||||
|
||||
if (strnstr(name, "bios", PATH_MAX)) {
|
||||
if (strstr(name, "bios")) {
|
||||
return true;
|
||||
}
|
||||
if (!strncmp(ext, "bin", PATH_MAX)) {
|
||||
|
|
Loading…
Reference in New Issue