1
0
mirror of https://github.com/libretro/RetroArch synced 2025-03-02 19:13:34 +00:00

Move path_clear_all call

This commit is contained in:
twinaphex 2016-09-17 14:41:49 +02:00
parent ad6da2d45f
commit 6bd6245f0a

@ -745,7 +745,6 @@ bool runloop_ctl(enum runloop_ctl_state state, void *data)
runloop_frontend_key_event = NULL; runloop_frontend_key_event = NULL;
audio_driver_unset_callback(); audio_driver_unset_callback();
path_clear_all();
memset(&runloop_system, 0, sizeof(rarch_system_info_t)); memset(&runloop_system, 0, sizeof(rarch_system_info_t));
break; break;
case RUNLOOP_CTL_SET_FRAME_TIME_LAST: case RUNLOOP_CTL_SET_FRAME_TIME_LAST:
@ -916,6 +915,7 @@ bool runloop_ctl(enum runloop_ctl_state state, void *data)
core_unset_input_descriptors(); core_unset_input_descriptors();
global = global_get_ptr(); global = global_get_ptr();
path_clear_all();
memset(global, 0, sizeof(struct global)); memset(global, 0, sizeof(struct global));
retroarch_override_setting_free_state(); retroarch_override_setting_free_state();
config_free_state(); config_free_state();