mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
- Move the uninit_libretro_symbols call to the end - The drivers may need access to the core for deinitialization
This commit is contained in:
parent
8f70da6b0c
commit
c3a5a25d43
@ -3881,10 +3881,6 @@ void runloop_event_deinit_core(void)
|
||||
else
|
||||
input_remapping_restore_global_config(true);
|
||||
|
||||
RARCH_LOG("[Core]: Unloading core symbols..\n");
|
||||
uninit_libretro_symbols(&runloop_st->current_core);
|
||||
runloop_st->current_core.flags &= ~RETRO_CORE_FLAG_SYMBOLS_INITED;
|
||||
|
||||
/* Restore original refresh rate, if it has been changed
|
||||
* automatically in SET_SYSTEM_AV_INFO */
|
||||
if (video_st->video_refresh_rate_original)
|
||||
@ -3906,6 +3902,10 @@ void runloop_event_deinit_core(void)
|
||||
#if defined(HAVE_CG) || defined(HAVE_GLSL) || defined(HAVE_SLANG) || defined(HAVE_HLSL)
|
||||
runloop_st->runtime_shader_preset_path[0] = '\0';
|
||||
#endif
|
||||
|
||||
RARCH_LOG("[Core]: Unloading core symbols..\n");
|
||||
uninit_libretro_symbols(&runloop_st->current_core);
|
||||
runloop_st->current_core.flags &= ~RETRO_CORE_FLAG_SYMBOLS_INITED;
|
||||
}
|
||||
|
||||
static bool runloop_path_init_subsystem(runloop_state_t *runloop_st)
|
||||
|
Loading…
x
Reference in New Issue
Block a user