From 152867d14fadb9b100d68892c4fcf5b51e180123 Mon Sep 17 00:00:00 2001 From: Jesse Talavera-Greenberg Date: Wed, 1 Mar 2023 20:08:56 -0500 Subject: [PATCH] Revert "Fix #15039 (#15042)" (#15043) This reverts commit c3a5a25d435e660fd61cec351e9602b30dcdc305. --- runloop.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/runloop.c b/runloop.c index 0b7365a6c5..8e94e4db28 100644 --- a/runloop.c +++ b/runloop.c @@ -3881,6 +3881,10 @@ 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) @@ -3902,10 +3906,6 @@ 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)