mirror of
https://github.com/libretro/RetroArch
synced 2025-02-07 03:40:24 +00:00
Cleanups
This commit is contained in:
parent
fcc238d310
commit
e9b39cc17f
@ -1863,8 +1863,10 @@ static bool config_load_file(const char *path, bool set_defaults)
|
|||||||
sizeof(global->dir.savefile));
|
sizeof(global->dir.savefile));
|
||||||
strlcpy(global->name.savefile, tmp_str,
|
strlcpy(global->name.savefile, tmp_str,
|
||||||
sizeof(global->name.savefile));
|
sizeof(global->name.savefile));
|
||||||
fill_pathname_dir(global->name.savefile, global->name.base,
|
fill_pathname_dir(global->name.savefile,
|
||||||
".srm", sizeof(global->name.savefile));
|
global->name.base,
|
||||||
|
file_path_str(FILE_PATH_SRM_EXTENSION),
|
||||||
|
sizeof(global->name.savefile));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
RARCH_WARN("savefile_directory is not a directory, ignoring ...\n");
|
RARCH_WARN("savefile_directory is not a directory, ignoring ...\n");
|
||||||
@ -1882,8 +1884,10 @@ static bool config_load_file(const char *path, bool set_defaults)
|
|||||||
sizeof(global->dir.savestate));
|
sizeof(global->dir.savestate));
|
||||||
strlcpy(global->name.savestate, tmp_str,
|
strlcpy(global->name.savestate, tmp_str,
|
||||||
sizeof(global->name.savestate));
|
sizeof(global->name.savestate));
|
||||||
fill_pathname_dir(global->name.savestate, global->name.base,
|
fill_pathname_dir(global->name.savestate,
|
||||||
".state", sizeof(global->name.savestate));
|
global->name.base,
|
||||||
|
file_path_str(FILE_PATH_STATE_EXTENSION),
|
||||||
|
sizeof(global->name.savestate));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
RARCH_WARN("savestate_directory is not a directory, ignoring ...\n");
|
RARCH_WARN("savestate_directory is not a directory, ignoring ...\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user