Fix saying 'several ways' and only listing one way if net is off.

This commit is contained in:
Alcaro 2015-07-18 11:34:50 +02:00
parent 280fab6cab
commit b45c8bf916
1 changed files with 10 additions and 5 deletions

View File

@ -2492,18 +2492,23 @@ int menu_hash_get_help_us(uint32_t hash, char *s, size_t len)
"To load a core, select one from\n" "To load a core, select one from\n"
"'Load Core'.\n" "'Load Core'.\n"
" \n" " \n"
"You can obtain cores in several ways: \n"
#ifdef HAVE_NETWORKING #ifdef HAVE_NETWORKING
"* Download them by going to \n" "You can obtain cores in several ways: \n"
"* Download them by going to\n"
"'%s' -> '%s'.\n" "'%s' -> '%s'.\n"
#endif
"* Manually move them over to\n" "* Manually move them over to\n"
"'%s'.", "'%s'.",
#ifdef HAVE_NETWORKING
menu_hash_to_str(MENU_LABEL_VALUE_ONLINE_UPDATER), menu_hash_to_str(MENU_LABEL_VALUE_ONLINE_UPDATER),
menu_hash_to_str(MENU_LABEL_VALUE_CORE_UPDATER_LIST), menu_hash_to_str(MENU_LABEL_VALUE_CORE_UPDATER_LIST),
#endif
menu_hash_to_str(MENU_LABEL_VALUE_LIBRETRO_DIR_PATH) menu_hash_to_str(MENU_LABEL_VALUE_LIBRETRO_DIR_PATH)
#else
"You can obtain cores by\n"
"manually moving them over to\n"
"'%s'.",
menu_hash_to_str(MENU_LABEL_VALUE_ONLINE_UPDATER),
menu_hash_to_str(MENU_LABEL_VALUE_CORE_UPDATER_LIST),
menu_hash_to_str(MENU_LABEL_VALUE_LIBRETRO_DIR_PATH)
#endif
); );
default: default:
if (s[0] == '\0') if (s[0] == '\0')