mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
Since directories can't be post-overridden, that case still needs to be handled separately.
This commit is contained in:
parent
b33d29aecf
commit
2be56942da
@ -1746,8 +1746,10 @@ static void config_set_defaults(void)
|
||||
|
||||
/* Make sure settings from other configs carry over into defaults
|
||||
* for another config. */
|
||||
dir_clear(RARCH_DIR_SAVEFILE);
|
||||
dir_clear(RARCH_DIR_SAVESTATE);
|
||||
if (!retroarch_override_setting_is_set(RARCH_OVERRIDE_SETTING_SAVE_PATH, NULL))
|
||||
dir_clear(RARCH_DIR_SAVEFILE);
|
||||
if (!retroarch_override_setting_is_set(RARCH_OVERRIDE_SETTING_STATE_PATH, NULL))
|
||||
dir_clear(RARCH_DIR_SAVESTATE);
|
||||
|
||||
*settings->paths.path_libretro_info = '\0';
|
||||
*settings->paths.directory_libretro = '\0';
|
||||
|
Loading…
x
Reference in New Issue
Block a user