diff --git a/intl/msg_hash_us.h b/intl/msg_hash_us.h index a889dc30bfe..9790c7de38a 100644 --- a/intl/msg_hash_us.h +++ b/intl/msg_hash_us.h @@ -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" diff --git a/menu/menu_displaylist.c b/menu/menu_displaylist.c index eb556ceafde..574f210ff15 100644 --- a/menu/menu_displaylist.c +++ b/menu/menu_displaylist.c @@ -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) { diff --git a/msg_hash.h b/msg_hash.h index 572b43d731d..d0695ea7899 100644 --- a/msg_hash.h +++ b/msg_hash.h @@ -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,