Add SSL Support to the information list (#17370)

This commit is contained in:
Rob Loach 2025-01-08 18:09:56 -05:00 committed by GitHub
parent 9886944f32
commit 941806698e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 17 additions and 0 deletions

View File

@ -350,6 +350,12 @@
#define SUPPORTS_NETPLAY false
#endif
#ifdef HAVE_SSL
#define SUPPORTS_SSL true
#else
#define SUPPORTS_SSL false
#endif
#if defined(HAVE_COCOA) || defined(HAVE_COCOATOUCH) || defined(HAVE_COCOA_METAL)
#define SUPPORTS_COCOA true
#else

View File

@ -918,6 +918,10 @@ MSG_HASH(
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_V4L2_SUPPORT,
"Video4Linux2 Support"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_SSL_SUPPORT,
"SSL Support"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_LIBUSB_SUPPORT,
"libusb Support"

View File

@ -2409,6 +2409,9 @@ static unsigned menu_displaylist_parse_system_info(file_list_t *list)
#ifdef HAVE_NETWORKING
{SUPPORTS_NETPLAY , MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_NETPLAY_SUPPORT},
#endif
#ifdef HAVE_SSL
{SUPPORTS_SSL , MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_SSL_SUPPORT},
#endif
#ifdef HAVE_V4L2
{SUPPORTS_V4L2 , MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_V4L2_SUPPORT},
#endif

View File

@ -3557,6 +3557,7 @@ enum msg_hash_enums
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_STB_TRUETYPE_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_NETPLAY_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_V4L2_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_SSL_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_LIBUSB_SUPPORT,
MENU_ENUM_LABEL_VALUE_CORE_ASSETS_DIR,

View File

@ -6212,6 +6212,9 @@ static void retroarch_print_features(void)
#ifdef HAVE_NETWORKING
_len += _PSUPP_BUF(buf, _len, SUPPORTS_NETPLAY, "Netplay", "Peer-to-peer netplay");
#endif
#ifdef HAVE_SSL
_len += _PSUPP_BUF(buf, _len, SUPPORTS_SSL, "SSL", "SSL Support");
#endif
#ifdef HAVE_LIBUSB
_len += _PSUPP_BUF(buf, _len, SUPPORTS_LIBUSB, "Libusb", "Libusb support");
#endif