mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-13 13:24:01 +00:00
Add check for STB TrueType
This commit is contained in:
parent
5a870f9190
commit
b523b9ec22
@ -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
|
||||
|
@ -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),
|
||||
|
Loading…
x
Reference in New Issue
Block a user