mirror of https://github.com/mgba-emu/mgba.git
GBA: Fix typo of GBAIsBIOS
This commit is contained in:
parent
d84cee4700
commit
a5f029c2fa
|
@ -335,7 +335,7 @@ static void _GBACoreReset(struct mCore* core) {
|
||||||
mCoreConfigDirectory(path, PATH_MAX);
|
mCoreConfigDirectory(path, PATH_MAX);
|
||||||
strncat(path, PATH_SEP "gba_bios.bin", PATH_MAX - strlen(path));
|
strncat(path, PATH_SEP "gba_bios.bin", PATH_MAX - strlen(path));
|
||||||
bios = VFileOpen(path, O_RDONLY);
|
bios = VFileOpen(path, O_RDONLY);
|
||||||
if (bios && GBIsBIOS(bios)) {
|
if (bios && GBAIsBIOS(bios)) {
|
||||||
found = true;
|
found = true;
|
||||||
} else if (bios) {
|
} else if (bios) {
|
||||||
bios->close(bios);
|
bios->close(bios);
|
||||||
|
|
Loading…
Reference in New Issue