mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
Cleanup
This commit is contained in:
parent
6f8b6a22b7
commit
7dc6d0f369
@ -1971,18 +1971,8 @@ bool config_load_override(void)
|
|||||||
if (string_is_empty(core_name) || string_is_empty(game_name))
|
if (string_is_empty(core_name) || string_is_empty(game_name))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
/* Config directory: config_directory.
|
fill_pathname_application_special(config_directory, sizeof(config_directory),
|
||||||
* Try config directory setting first,
|
APPLICATION_SPECIAL_DIRECTORY_CONFIG);
|
||||||
* fallback to the location of the current configuration file. */
|
|
||||||
if (!string_is_empty(settings->directory.menu_config))
|
|
||||||
strlcpy(config_directory,
|
|
||||||
settings->directory.menu_config,
|
|
||||||
sizeof(config_directory));
|
|
||||||
else if (!string_is_empty(global->path.config))
|
|
||||||
fill_pathname_basedir(config_directory,
|
|
||||||
global->path.config, sizeof(config_directory));
|
|
||||||
else
|
|
||||||
return false;
|
|
||||||
|
|
||||||
/* Concatenate strings into full paths for core_path, game_path */
|
/* Concatenate strings into full paths for core_path, game_path */
|
||||||
fill_pathname_join(game_path,
|
fill_pathname_join(game_path,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user