mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-17 07:58:55 +00:00
Cleanups
This commit is contained in:
parent
ee87ef0ae9
commit
a6aa0b8e0c
@ -3248,5 +3248,5 @@ const char *config_get_active_path(void)
|
|||||||
|
|
||||||
void config_free_state(void)
|
void config_free_state(void)
|
||||||
{
|
{
|
||||||
*path_core_specific_config = '\0';
|
path_core_specific_config[0] = '\0';
|
||||||
}
|
}
|
||||||
|
@ -1138,7 +1138,8 @@ bool runloop_ctl(enum runloop_ctl_state state, void *data)
|
|||||||
const struct retro_variable *vars =
|
const struct retro_variable *vars =
|
||||||
(const struct retro_variable*)data;
|
(const struct retro_variable*)data;
|
||||||
|
|
||||||
if (string_is_empty(options_path) && *global->path.config)
|
if (string_is_empty(options_path)
|
||||||
|
&& !string_is_empty(global->path.config))
|
||||||
{
|
{
|
||||||
fill_pathname_resolve_relative(buf, global->path.config,
|
fill_pathname_resolve_relative(buf, global->path.config,
|
||||||
file_path_str(FILE_PATH_CORE_OPTIONS_CONFIG), sizeof(buf));
|
file_path_str(FILE_PATH_CORE_OPTIONS_CONFIG), sizeof(buf));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user