notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix crash when BIOS isn't found
[pcsx_rearmed.git]
/
frontend
/
libretro.c
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;
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);
{
const char *substr = substrings[i];
size_t len = strlen(substr);