Move path_clear_all call

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

View File

@ -745,7 +745,6 @@ bool runloop_ctl(enum runloop_ctl_state state, void *data)
runloop_frontend_key_event = NULL;
audio_driver_unset_callback();
path_clear_all();
memset(&runloop_system, 0, sizeof(rarch_system_info_t));
break;
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();
global = global_get_ptr();
path_clear_all();
memset(global, 0, sizeof(struct global));
retroarch_override_setting_free_state();
config_free_state();