This commit is contained in:
twinaphex 2016-07-23 14:29:57 +02:00
parent ee87ef0ae9
commit a6aa0b8e0c
2 changed files with 3 additions and 2 deletions

View File

@ -3248,5 +3248,5 @@ const char *config_get_active_path(void)
void config_free_state(void)
{
*path_core_specific_config = '\0';
path_core_specific_config[0] = '\0';
}

View File

@ -1138,7 +1138,8 @@ bool runloop_ctl(enum runloop_ctl_state state, void *data)
const struct retro_variable *vars =
(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,
file_path_str(FILE_PATH_CORE_OPTIONS_CONFIG), sizeof(buf));