diff --git a/intl/msg_hash_us.h b/intl/msg_hash_us.h index 0f117bae72..8e544bf268 100644 --- a/intl/msg_hash_us.h +++ b/intl/msg_hash_us.h @@ -642,6 +642,10 @@ MSG_HASH( MENU_ENUM_LABEL_VALUE_CPU_CORES, "CPU Cores" ) +MSG_HASH( + MENU_ENUM_LABEL_VALUE_JIT_AVAILABLE, + "JIT Available" + ) MSG_HASH( MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_FRONTEND_IDENTIFIER, "Frontend Identifier" diff --git a/menu/menu_displaylist.c b/menu/menu_displaylist.c index 5c11dac0ca..3013210926 100644 --- a/menu/menu_displaylist.c +++ b/menu/menu_displaylist.c @@ -1853,6 +1853,28 @@ static unsigned menu_displaylist_parse_system_info(file_list_t *list) count++; } +#ifdef IOS + { + const char *val_yes_str = msg_hash_to_str(MENU_ENUM_LABEL_VALUE_YES); + const char *val_no_str = msg_hash_to_str(MENU_ENUM_LABEL_VALUE_NO); + + size_t _len = strlcpy(entry, + msg_hash_to_str(MENU_ENUM_LABEL_VALUE_JIT_AVAILABLE), + sizeof(entry)); + entry[ _len] = ':'; + entry[++_len] = ' '; + entry[++_len] = '\0'; + if (jit_available()) + strlcpy(entry + _len, val_yes_str, sizeof(entry) - _len); + else + strlcpy(entry + _len, val_no_str, sizeof(entry) - _len); + if (menu_entries_append(list, entry, "", + MENU_ENUM_LABEL_SYSTEM_INFO_ENTRY, MENU_SETTINGS_CORE_INFO_NONE, + 0, 0, NULL)) + count++; + } +#endif + /* Input devices */ { const char *menu_driver = menu_driver_ident(); diff --git a/msg_hash.h b/msg_hash.h index c1ba051500..4f095ec2e3 100644 --- a/msg_hash.h +++ b/msg_hash.h @@ -858,6 +858,7 @@ enum msg_hash_enums /* System information */ MENU_LABEL(CPU_CORES), MENU_LABEL(CPU_ARCHITECTURE), + MENU_LABEL(JIT_AVAILABLE), /* Input */