mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
make sure to reset paths when exiting too
This commit is contained in:
parent
cc5b069494
commit
51dad5c922
@ -38,7 +38,7 @@ void main_exit_save_config(void)
|
||||
|
||||
if (settings->config_save_on_exit && *global->config_path)
|
||||
{
|
||||
/* restore original paths in case per-core organization is enabled */
|
||||
/* restore original paths in case per-core organization is enabled */
|
||||
if (settings->sort_savefiles_enable && orig_savefile_dir != '\0')
|
||||
strlcpy(global->savefile_dir,orig_savefile_dir,sizeof(global->savefile_dir));
|
||||
if (settings->sort_savestates_enable && orig_savestate_dir != '\0')
|
||||
|
Loading…
x
Reference in New Issue
Block a user