mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-21 10:20:21 +00:00
Modify RARCH_CTL_SET_PATHS_REDIRECT
This commit is contained in:
parent
3728240162
commit
8fe012afe4
@ -597,8 +597,7 @@ static bool event_init_core(void *data)
|
||||
config_load_remap();
|
||||
|
||||
/* per-core saves: reset redirection paths */
|
||||
if((settings->sort_savestates_enable || settings->sort_savefiles_enable)
|
||||
&& !content_ctl(CONTENT_CTL_DOES_NOT_NEED_CONTENT, NULL))
|
||||
if((settings->sort_savestates_enable || settings->sort_savefiles_enable))
|
||||
rarch_ctl(RARCH_CTL_SET_PATHS_REDIRECT, NULL);
|
||||
|
||||
if (!core_ctl(CORE_CTL_RETRO_INIT, NULL))
|
||||
|
@ -1366,6 +1366,8 @@ bool rarch_ctl(enum rarch_ctl_state state, void *data)
|
||||
runloop_ctl(RUNLOOP_CTL_MSG_QUEUE_INIT, NULL);
|
||||
return true;
|
||||
case RARCH_CTL_SET_PATHS_REDIRECT:
|
||||
if (content_ctl(CONTENT_CTL_DOES_NOT_NEED_CONTENT, NULL))
|
||||
return false;
|
||||
set_paths_redirect(global->name.base);
|
||||
break;
|
||||
case RARCH_CTL_SET_ERROR_ON_INIT:
|
||||
|
Loading…
Reference in New Issue
Block a user