mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Put this here
This commit is contained in:
parent
c2cb872b08
commit
c7825e4708
1 changed files with 10 additions and 0 deletions
10
driver.c
10
driver.c
|
@ -29,6 +29,7 @@
|
|||
#endif
|
||||
|
||||
#include "command.h"
|
||||
#include "dynamic.h"
|
||||
#include "msg_hash.h"
|
||||
|
||||
#include "audio/audio_driver.h"
|
||||
|
@ -395,6 +396,15 @@ 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);
|
||||
|
|
Loading…
Add table
Reference in a new issue