Fix default path

This commit is contained in:
twinaphex 2016-05-02 03:07:13 +02:00
parent 8ff81312ad
commit 906b94966b
1 changed files with 4 additions and 0 deletions

View File

@ -981,6 +981,7 @@ static config_file_t *open_default_config_file(void)
/* Try to create a new config file. */
conf = config_file_new(NULL);
if (conf)
{
/* Since this is a clean config file, we can
@ -1067,8 +1068,11 @@ static config_file_t *open_default_config_file(void)
/* Try to create a new config file. */
strlcpy(conf_path, application_data, sizeof(conf_path));
fill_pathname_basedir(basedir, conf_path, sizeof(basedir));
fill_pathname_join(conf_path, conf_path, "retroarch.cfg", sizeof(conf_path));
if (path_mkdir(basedir))
{
bool saved = false;