This commit is contained in:
twinaphex 2018-03-25 12:17:05 +02:00
parent 8bc04f90fe
commit ae4b604a6f

View File

@ -1905,11 +1905,14 @@ static void config_set_defaults(void)
g_defaults.dirs[DEFAULT_DIR_MENU_CONFIG],
sizeof(settings->paths.directory_menu_config));
#if TARGET_OS_IPHONE
char *config_file_path = (char*)malloc(PATH_MAX_LENGTH * sizeof(char));
size_t config_file_path_size = PATH_MAX_LENGTH * sizeof(char);
fill_pathname_join(config_file_path, settings->paths.directory_menu_config, file_path_str(FILE_PATH_MAIN_CONFIG), config_file_path_size);
path_set(RARCH_PATH_CONFIG,
config_file_path);
{
char *config_file_path = (char*)malloc(PATH_MAX_LENGTH * sizeof(char));
size_t config_file_path_size = PATH_MAX_LENGTH * sizeof(char);
fill_pathname_join(config_file_path, settings->paths.directory_menu_config, file_path_str(FILE_PATH_MAIN_CONFIG), config_file_path_size);
path_set(RARCH_PATH_CONFIG,
config_file_path);
}
#endif
}