mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-03 07:22:15 +00:00
Put this back here
This commit is contained in:
parent
ffe0987454
commit
30c5a2870f
9
driver.c
9
driver.c
@ -396,15 +396,6 @@ void driver_uninit(int flags)
|
||||
core_info_deinit_list();
|
||||
core_info_free_current_core();
|
||||
|
||||
#ifndef HAVE_DYNAMIC
|
||||
if (frontend_driver_has_fork())
|
||||
#endif
|
||||
{
|
||||
rarch_system_info_t *system = runloop_get_system_info();
|
||||
libretro_free_system_info(&system->info);
|
||||
memset(&system->info, 0, sizeof(struct retro_system_info));
|
||||
}
|
||||
|
||||
#ifdef HAVE_MENU
|
||||
if (flags & DRIVER_MENU_MASK)
|
||||
menu_driver_ctl(RARCH_MENU_CTL_DEINIT, NULL);
|
||||
|
@ -1824,6 +1824,15 @@ bool menu_driver_ctl(enum rarch_menu_ctl_state state, void *data)
|
||||
free(menu_userdata);
|
||||
menu_userdata = NULL;
|
||||
|
||||
#ifndef HAVE_DYNAMIC
|
||||
if (frontend_driver_has_fork())
|
||||
#endif
|
||||
{
|
||||
rarch_system_info_t *system = runloop_get_system_info();
|
||||
libretro_free_system_info(&system->info);
|
||||
memset(&system->info, 0, sizeof(struct retro_system_info));
|
||||
}
|
||||
|
||||
if (menu_display_msg_queue)
|
||||
msg_queue_free(menu_display_msg_queue);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user