mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 00:20:01 +00:00
Add core path to Core Information screen (#16405)
This commit is contained in:
parent
fcd546b74c
commit
2d7ac133ae
@ -503,6 +503,10 @@ MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_CORE_INFO_REQUIRED_HW_API,
|
||||
"Required Graphics API"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_CORE_INFO_CORE_PATH,
|
||||
"Full path of core"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_CORE_INFO_SAVESTATE_SUPPORT_LEVEL,
|
||||
"Save State Support"
|
||||
|
@ -839,6 +839,23 @@ static int menu_displaylist_parse_core_info(
|
||||
}
|
||||
}
|
||||
|
||||
if (core_path)
|
||||
{
|
||||
size_t _len;
|
||||
|
||||
_len = strlcpy(tmp,
|
||||
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_CORE_INFO_CORE_PATH),
|
||||
sizeof(tmp));
|
||||
tmp[ _len] = ':';
|
||||
tmp[++_len] = ' ';
|
||||
tmp[++_len] = '\0';
|
||||
strlcpy(tmp + _len, core_path, sizeof(tmp) - _len);
|
||||
if (menu_entries_append(list, tmp, "",
|
||||
MENU_ENUM_LABEL_CORE_INFO_ENTRY,
|
||||
MENU_SETTINGS_CORE_INFO_NONE, 0, 0, NULL))
|
||||
count++;
|
||||
}
|
||||
|
||||
end:
|
||||
if (!kiosk_mode_enable)
|
||||
{
|
||||
|
@ -3431,6 +3431,7 @@ enum msg_hash_enums
|
||||
MENU_ENUM_LABEL_VALUE_CORE_INFO_FIRMWARE_IN_CONTENT_DIRECTORY,
|
||||
MENU_ENUM_LABEL_VALUE_CORE_INFO_FIRMWARE_PATH,
|
||||
MENU_ENUM_LABEL_VALUE_CORE_INFO_REQUIRED_HW_API,
|
||||
MENU_ENUM_LABEL_VALUE_CORE_INFO_CORE_PATH,
|
||||
|
||||
MENU_ENUM_LABEL_VALUE_CORE_INFO_SAVESTATE_SUPPORT_LEVEL,
|
||||
MENU_ENUM_LABEL_VALUE_CORE_INFO_SAVESTATE_DISABLED,
|
||||
|
Loading…
Reference in New Issue
Block a user