This commit is contained in:
twinaphex 2016-02-07 13:33:56 +01:00
parent 3fe210bb41
commit 26737dbf49
2 changed files with 5 additions and 5 deletions

View File

@ -1113,7 +1113,7 @@ static bool init_state(void)
return true;
}
bool rarch_option_create(char *path, size_t len)
bool rarch_option_create(char *s, size_t len)
{
char core_path[PATH_MAX_LENGTH];
char config_directory[PATH_MAX_LENGTH];
@ -1146,10 +1146,10 @@ bool rarch_option_create(char *path, size_t len)
return false;
/* Concatenate strings into full paths for game_path */
fill_pathname_join(path,
fill_pathname_join(s,
config_directory, core_name, len);
fill_string_join(path, game_name, len);
strlcat(path, ".opt", len);
fill_string_join(s, game_name, len);
strlcat(s, ".opt", len);
fill_pathname_join(core_path,
config_directory, core_name, sizeof(core_path));

View File

@ -172,7 +172,7 @@ enum rarch_content_type rarch_path_is_media_type(const char *path);
const char *rarch_get_current_savefile_dir(void);
bool rarch_option_create(char *path, size_t len);
bool rarch_option_create(char *s, size_t len);
#ifdef __cplusplus
}