Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SSL Support to the information list #17370

Merged
merged 1 commit into from
Jan 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading