1
0
mirror of https://github.com/libretro/RetroArch synced 2024-07-03 00:38:44 +00:00

Do not exclude browser and config directory settings if RGUI is disabled. (#15803)

This commit is contained in:
zoltanvb 2023-10-15 14:47:26 +02:00 committed by GitHub
parent 793cb0cfa3
commit 0f111e647f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1619,9 +1619,10 @@ static struct config_path_setting *populate_settings_path(
SETTING_PATH("menu_wallpaper", settings->paths.path_menu_wallpaper, false, NULL, true);
#ifdef HAVE_RGUI
SETTING_PATH("rgui_menu_theme_preset", settings->paths.path_rgui_theme_preset, false, NULL, true);
#endif
/* Browser and config directories are not RGUI dependent, but name is kept to avoid config file change */
SETTING_PATH("rgui_browser_directory", settings->paths.directory_menu_content, true, NULL, true);
SETTING_PATH("rgui_config_directory", settings->paths.directory_menu_config, true, NULL, true);
#endif
#ifdef HAVE_XMB
SETTING_PATH("xmb_font", settings->paths.path_menu_xmb_font, false, NULL, true);
#endif