diff options
-rw-r--r-- | frontend/libretro.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/frontend/libretro.c b/frontend/libretro.c index 10e9694..659b3ce 100644 --- a/frontend/libretro.c +++ b/frontend/libretro.c @@ -1011,6 +1011,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); |