fix static library builds with empty core directories

This commit is contained in:
ToadKing 2013-10-30 21:53:01 -04:00
parent e03114b880
commit fea062ce67

View File

@ -315,11 +315,13 @@ static void menu_update_libretro_info(void)
fill_pathname_basedir(rgui->libretro_dir, g_settings.libretro, sizeof(rgui->libretro_dir));
#ifdef HAVE_DYNAMIC
libretro_get_system_info(g_settings.libretro, &rgui->info, NULL);
#else
retro_get_system_info(&rgui->info);
#endif
}
#ifndef HAVE_DYNAMIC
retro_get_system_info(&rgui->info);
#endif
core_info_list_free(rgui->core_info);
rgui->core_info = NULL;
if (*rgui->libretro_dir)