notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdcde64
)
Fix crash when BIOS isn't found
author
Bobby Smith
<33353403+bslenul@users.noreply.github.com>
Mon, 17 Jul 2023 16:28:25 +0000
(18:28 +0200)
committer
notaz
<notasas@gmail.com>
Thu, 20 Jul 2023 23:49:07 +0000
(
02:49
+0300)
frontend/libretro.c
patch
|
blob
|
blame
|
history
diff --git
a/frontend/libretro.c
b/frontend/libretro.c
index
7e5ac0c
..
21189d6
100644
(file)
--- a/
frontend/libretro.c
+++ b/
frontend/libretro.c
@@
-2817,7
+2817,7
@@
static bool find_any_bios(const char *dirpath, char *path, size_t path_size)
if (dir == NULL)
return false;
- for (i = 0;
sizeof(substrings) / sizeof(substrings[0]
); i++)
+ for (i = 0;
i < (sizeof(substrings) / sizeof(substrings[0])
); i++)
{
const char *substr = substrings[i];
size_t len = strlen(substr);