mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +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,
|
MENU_ENUM_LABEL_VALUE_CPU_CORES,
|
||||||
"CPU Cores"
|
"CPU Cores"
|
||||||
)
|
)
|
||||||
|
MSG_HASH(
|
||||||
|
MENU_ENUM_LABEL_VALUE_JIT_AVAILABLE,
|
||||||
|
"JIT Available"
|
||||||
|
)
|
||||||
MSG_HASH(
|
MSG_HASH(
|
||||||
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_FRONTEND_IDENTIFIER,
|
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_FRONTEND_IDENTIFIER,
|
||||||
"Frontend Identifier"
|
"Frontend Identifier"
|
||||||
|
@ -1853,6 +1853,28 @@ static unsigned menu_displaylist_parse_system_info(file_list_t *list)
|
|||||||
count++;
|
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 */
|
/* Input devices */
|
||||||
{
|
{
|
||||||
const char *menu_driver = menu_driver_ident();
|
const char *menu_driver = menu_driver_ident();
|
||||||
|
@ -858,6 +858,7 @@ enum msg_hash_enums
|
|||||||
/* System information */
|
/* System information */
|
||||||
MENU_LABEL(CPU_CORES),
|
MENU_LABEL(CPU_CORES),
|
||||||
MENU_LABEL(CPU_ARCHITECTURE),
|
MENU_LABEL(CPU_ARCHITECTURE),
|
||||||
|
MENU_LABEL(JIT_AVAILABLE),
|
||||||
|
|
||||||
/* Input */
|
/* Input */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user