(RARCH_CONSOLE) Set rgui->libretro_dir to default_paths.core_dir

This commit is contained in:
twinaphex 2014-03-10 03:31:00 +01:00
parent be7798a308
commit 451f4823d2

View File

@ -362,6 +362,8 @@ static void menu_update_libretro_info(void)
strlcpy(rgui->libretro_dir, "game:", sizeof(rgui->libretro_dir));
#elif defined(_XBOX1)
strlcpy(rgui->libretro_dir, "D:", sizeof(rgui->libretro_dir));
#elif defined(RARCH_CONSOLE)
strlcpy(rgui->libretro_dir, default_paths.core_dir, sizeof(rgui->libretro_dir));
#else
if (path_is_directory(g_settings.libretro))
strlcpy(rgui->libretro_dir, g_settings.libretro, sizeof(rgui->libretro_dir));