mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
fix static library builds with empty core directories
This commit is contained in:
parent
e03114b880
commit
fea062ce67
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user