aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--frontend/libretro.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/frontend/libretro.c b/frontend/libretro.c
index 9e2d031..76f0b44 100644
--- 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);