mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-27 06:11:51 +00:00
Fallback in RGUI if libretro_path isn't set.
This commit is contained in:
parent
5e45c31f06
commit
829840b415
@ -1543,8 +1543,10 @@ static int rgui_settings_iterate(rgui_handle_t *rgui, rgui_action_t action)
|
||||
{
|
||||
if (path_is_directory(g_settings.libretro))
|
||||
strlcpy(rgui->libretro_dir, g_settings.libretro, sizeof(rgui->libretro_dir));
|
||||
else
|
||||
else if (*g_settings.libretro)
|
||||
fill_pathname_basedir(rgui->libretro_dir, g_settings.libretro, sizeof(rgui->libretro_dir));
|
||||
else
|
||||
*rgui->libretro_dir = '\0';
|
||||
label = rgui->libretro_dir;
|
||||
}
|
||||
#elif defined(HAVE_LIBRETRO_MANAGEMENT)
|
||||
|
Loading…
x
Reference in New Issue
Block a user