only remove core info on close content if the current platform is either dynamic or can fork to other cores, would get stuck on no core otherwise

This commit is contained in:
FIX94 2016-06-24 20:10:11 +02:00
parent 3afd1c1e07
commit 528b2b9b00

View File

@ -425,8 +425,13 @@ bool menu_driver_ctl(enum rarch_menu_ctl_state state, void *data)
}
break;
case RARCH_MENU_CTL_SYSTEM_INFO_DEINIT:
#ifndef HAVE_DYNAMIC
if (frontend_driver_has_fork())
#endif
{
libretro_free_system_info(&menu_driver_system);
memset(&menu_driver_system, 0, sizeof(struct retro_system_info));
}
break;
case RARCH_MENU_CTL_RENDER_MESSAGEBOX:
if (menu_driver_ctx->render_messagebox)