Skip to content

Commit

Permalink
Add SSL Support to the information list (#17370)
Browse files Browse the repository at this point in the history
  • Loading branch information
RobLoach authored Jan 8, 2025
1 parent 9886944 commit 9418066
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config.features.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions intl/msg_hash_us.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 3 additions & 0 deletions menu/menu_displaylist.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions msg_hash.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
3 changes: 3 additions & 0 deletions retroarch.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9418066

Please sign in to comment.