System Information - add dynamic support

This commit is contained in:
twinaphex 2016-01-25 06:49:37 +01:00
parent 0edda872fe
commit 37acfe06ee
3 changed files with 11 additions and 0 deletions

View File

@ -1514,6 +1514,8 @@ const char *menu_hash_to_str_us(uint32_t hash)
return "SDL image support";
case MENU_LABEL_VALUE_SYSTEM_INFO_FBO_SUPPORT:
return "OpenGL/Direct3D render-to-texture (multi-pass shaders) support";
case MENU_LABEL_VALUE_SYSTEM_INFO_DYNAMIC_SUPPORT:
return "Dynamic run-time loading of libretro library";
case MENU_LABEL_VALUE_SYSTEM_INFO_FFMPEG_SUPPORT:
return "FFmpeg support";
case MENU_LABEL_VALUE_SYSTEM_INFO_CORETEXT_SUPPORT:

View File

@ -804,6 +804,13 @@ static int menu_displaylist_parse_system_info(menu_displaylist_info_t *info)
menu_entries_push(info->list, feat_str, "",
MENU_SETTINGS_CORE_INFO_NONE, 0, 0);
snprintf(feat_str, sizeof(feat_str),
"%s: %s",
menu_hash_to_str(MENU_LABEL_VALUE_SYSTEM_INFO_DYNAMIC_SUPPORT),
_dynamic_supp ? menu_hash_to_str(MENU_LABEL_VALUE_YES) : menu_hash_to_str(MENU_LABEL_VALUE_NO));
menu_entries_push(info->list, feat_str, "",
MENU_SETTINGS_CORE_INFO_NONE, 0, 0);
snprintf(feat_str, sizeof(feat_str),
"%s: %s",
menu_hash_to_str(MENU_LABEL_VALUE_SYSTEM_INFO_CG_SUPPORT),

View File

@ -22,6 +22,8 @@
extern "C" {
#endif
#define MENU_LABEL_VALUE_SYSTEM_INFO_DYNAMIC_SUPPORT 0xe5f4b599U
#define MENU_LABEL_UI_COMPANION_ENABLE 0xb2d7a20cU
#define MENU_LABEL_VALUE_UI_COMPANION_ENABLE 0xee4933ceU