Add check for STB TrueType

This commit is contained in:
Rob Loach 2018-09-30 20:42:09 -04:00
parent 5a870f9190
commit b523b9ec22
No known key found for this signature in database
GPG Key ID: 627C60834A74A21A
2 changed files with 16 additions and 0 deletions

View File

@ -290,6 +290,12 @@ static const bool _freetype_supp = true;
static const bool _freetype_supp = false;
#endif
#ifdef HAVE_STB_FONT
static const bool _stbfont_supp = true;
#else
static const bool _stbfont_supp = false;
#endif
#ifdef HAVE_NETWORKING
static const bool _netplay_supp = true;
#else

View File

@ -1223,6 +1223,16 @@ static int menu_displaylist_parse_system_info(menu_displaylist_info_t *info)
MENU_ENUM_LABEL_SYSTEM_INFO_ENTRY,
MENU_SETTINGS_CORE_INFO_NONE, 0, 0);
snprintf(feat_str, sizeof(feat_str),
"%s: %s",
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_STB_TRUETYPE_SUPPORT),
_stbfont_supp ?
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_YES) :
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_NO));
menu_entries_append_enum(info->list, feat_str, "",
MENU_ENUM_LABEL_SYSTEM_INFO_ENTRY,
MENU_SETTINGS_CORE_INFO_NONE, 0, 0);
snprintf(feat_str, sizeof(feat_str),
"%s: %s",
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_NETPLAY_SUPPORT),