mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-25 17:10:12 +00:00
fix nits
This commit is contained in:
parent
38a9d66299
commit
90b0136e06
@ -690,9 +690,9 @@ static bool event_init_core(void)
|
||||
rarch_init_system_av_info();
|
||||
|
||||
if(settings->sort_savefiles_enable)
|
||||
strlcpy(global->savefile_dir,orig_savefile_dir,sizeof(global->savefile_dir));
|
||||
strlcpy(global->savefile_dir,orig_savefile_dir,sizeof(global->savefile_dir));
|
||||
if(settings->sort_savestates_enable)
|
||||
strlcpy(global->savestate_dir,orig_savestate_dir,sizeof(global->savestate_dir));
|
||||
strlcpy(global->savestate_dir,orig_savestate_dir,sizeof(global->savestate_dir));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -344,10 +344,10 @@ void set_paths_redirect(const char *path)
|
||||
}
|
||||
|
||||
if(path_is_directory(global->savefile_dir))
|
||||
strlcpy(global->savefile_name,global->savefile_dir,sizeof(global->savefile_dir));
|
||||
strlcpy(global->savefile_name,global->savefile_dir,sizeof(global->savefile_dir));
|
||||
|
||||
if(path_is_directory(global->savestate_dir))
|
||||
strlcpy(global->savestate_name,global->savestate_dir,sizeof(global->savestate_dir));
|
||||
strlcpy(global->savestate_name,global->savestate_dir,sizeof(global->savestate_dir));
|
||||
|
||||
if (path_is_directory(global->savefile_name))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user