mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
Minor iOS JIT availability information (#16358)
This commit is contained in:
parent
b6268d8f98
commit
bca3cc0165
@ -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"
|
||||
|
@ -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();
|
||||
|
@ -858,6 +858,7 @@ enum msg_hash_enums
|
||||
/* System information */
|
||||
MENU_LABEL(CPU_CORES),
|
||||
MENU_LABEL(CPU_ARCHITECTURE),
|
||||
MENU_LABEL(JIT_AVAILABLE),
|
||||
|
||||
/* Input */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user