Merge pull request #98 from ilag11111/cheatSupport
[pcsx_rearmed.git] / frontend / libretro.c
index 10e9694..659b3ce 100644 (file)
@@ -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);