Try setting path when defaults menu_config is set

This commit is contained in:
twinaphex 2017-02-26 09:35:00 +01:00
parent c2036e4aed
commit af971ea9be

View File

@ -1330,9 +1330,13 @@ static void config_set_defaults(void)
#ifdef HAVE_MENU
if (!string_is_empty(g_defaults.dir.menu_config))
{
strlcpy(settings->directory.menu_config,
g_defaults.dir.menu_config,
sizeof(settings->directory.menu_config));
path_set(RARCH_PATH_CONFIG,
settings->directory.menu_config);
}
if (!string_is_empty(g_defaults.dir.menu_content))
strlcpy(settings->directory.menu_content,
g_defaults.dir.menu_content,