mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Merge pull request #2800 from joolswills/config_save
fix config path saving when saving new config - can't use overlapping…
This commit is contained in:
commit
1c56e86da4
@ -702,7 +702,7 @@ static bool event_save_core_config(void)
|
||||
else
|
||||
strlcpy(tmp, ".cfg", sizeof(tmp));
|
||||
|
||||
snprintf(config_path, sizeof(config_path), "%s%s", config_path, tmp);
|
||||
strlcat(config_path, tmp, sizeof(config_path));
|
||||
if (!path_file_exists(config_path))
|
||||
{
|
||||
found_path = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user