mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 22:13:51 +00:00
Use fill_pathname_join() for default config.
This commit is contained in:
parent
afdb661f21
commit
f0f925915d
@ -319,7 +319,7 @@ static config_file_t *open_default_config_file(void)
|
|||||||
const char *appdata = getenv("APPDATA");
|
const char *appdata = getenv("APPDATA");
|
||||||
if (appdata)
|
if (appdata)
|
||||||
{
|
{
|
||||||
snprintf(conf_path, sizeof(conf_path), "%s\\retroarch.cfg", appdata);
|
fill_pathname_join(conf_path, appdata, "retroarch.cfg", sizeof(conf_path));
|
||||||
conf = config_file_new(conf_path);
|
conf = config_file_new(conf_path);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user