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:
b580cc4
)
return false if info is NULL inside retro_load_game
author
orbea
<ovariegata@yahoo.com>
Tue, 24 Jan 2017 20:48:44 +0000
(12:48 -0800)
committer
orbea
<ovariegata@yahoo.com>
Tue, 24 Jan 2017 20:50:17 +0000
(12:50 -0800)
frontend/libretro.c
patch
|
blob
|
blame
|
history
diff --git
a/frontend/libretro.c
b/frontend/libretro.c
index
9e2d031
..
76f0b44
100644
(file)
--- a/
frontend/libretro.c
+++ b/
frontend/libretro.c
@@
-994,6
+994,9
@@
strcasestr(const char *s, const char*find)
bool retro_load_game(const struct retro_game_info *info)
{
+ if (!info)
+ return false;
+
size_t i;
bool is_m3u = (strcasestr(info->path, ".m3u") != NULL);