mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 13:20:30 +00:00
Add entries to system information
This commit is contained in:
parent
de2d15c716
commit
5488806108
@ -302,6 +302,24 @@ static const bool _rpng_supp = true;
|
||||
static const bool _rpng_supp = false;
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_RJPEG
|
||||
static const bool _rjpeg_supp = true;
|
||||
#else
|
||||
static const bool _rjpeg_supp = false;
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_RBMP
|
||||
static const bool _rbmp_supp = true;
|
||||
#else
|
||||
static const bool _rbmp_supp = false;
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_RTGA
|
||||
static const bool _rtga_supp = true;
|
||||
#else
|
||||
static const bool _rtga_supp = false;
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_CORETEXT
|
||||
static const bool _coretext_supp = true;
|
||||
#else
|
||||
|
@ -1520,6 +1520,12 @@ const char *menu_hash_to_str_us(uint32_t hash)
|
||||
return "Cocoa support";
|
||||
case MENU_LABEL_VALUE_SYSTEM_INFO_RPNG_SUPPORT:
|
||||
return "PNG support (RPNG)";
|
||||
case MENU_LABEL_VALUE_SYSTEM_INFO_RJPEG_SUPPORT:
|
||||
return "JPEG support (RJPEG)";
|
||||
case MENU_LABEL_VALUE_SYSTEM_INFO_RBMP_SUPPORT:
|
||||
return "BMP support (RBMP)";
|
||||
case MENU_LABEL_VALUE_SYSTEM_INFO_RTGA_SUPPORT:
|
||||
return "RTGA support (RTGA)";
|
||||
case MENU_LABEL_VALUE_SYSTEM_INFO_SDL_SUPPORT:
|
||||
return "SDL1.2 support";
|
||||
case MENU_LABEL_VALUE_SYSTEM_INFO_SDL2_SUPPORT:
|
||||
|
@ -909,6 +909,36 @@ static int menu_displaylist_parse_system_info(menu_displaylist_info_t *info)
|
||||
menu_entries_add(info->list, feat_str, "",
|
||||
MENU_SETTINGS_CORE_INFO_NONE, 0, 0);
|
||||
|
||||
snprintf(feat_str, sizeof(feat_str),
|
||||
"%s: %s",
|
||||
menu_hash_to_str(
|
||||
MENU_LABEL_VALUE_SYSTEM_INFO_RJPEG_SUPPORT),
|
||||
_rjpeg_supp ?
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_YES) :
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_NO));
|
||||
menu_entries_add(info->list, feat_str, "",
|
||||
MENU_SETTINGS_CORE_INFO_NONE, 0, 0);
|
||||
|
||||
snprintf(feat_str, sizeof(feat_str),
|
||||
"%s: %s",
|
||||
menu_hash_to_str(
|
||||
MENU_LABEL_VALUE_SYSTEM_INFO_RBMP_SUPPORT),
|
||||
_rbmp_supp ?
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_YES) :
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_NO));
|
||||
menu_entries_add(info->list, feat_str, "",
|
||||
MENU_SETTINGS_CORE_INFO_NONE, 0, 0);
|
||||
|
||||
snprintf(feat_str, sizeof(feat_str),
|
||||
"%s: %s",
|
||||
menu_hash_to_str(
|
||||
MENU_LABEL_VALUE_SYSTEM_INFO_RTGA_SUPPORT),
|
||||
_rtga_supp ?
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_YES) :
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_NO));
|
||||
menu_entries_add(info->list, feat_str, "",
|
||||
MENU_SETTINGS_CORE_INFO_NONE, 0, 0);
|
||||
|
||||
snprintf(feat_str, sizeof(feat_str),
|
||||
"%s: %s",
|
||||
menu_hash_to_str(
|
||||
|
@ -1053,6 +1053,9 @@ extern "C" {
|
||||
#define MENU_LABEL_VALUE_SYSTEM_INFO_NETWORK_COMMAND_IFACE_SUPPORT 0x9c9c8e3eU
|
||||
#define MENU_LABEL_VALUE_SYSTEM_INFO_NETWORK_REMOTE_SUPPORT 0x1a817f5bU
|
||||
#define MENU_LABEL_VALUE_SYSTEM_INFO_COCOA_SUPPORT 0x89849204U
|
||||
#define MENU_LABEL_VALUE_SYSTEM_INFO_RTGA_SUPPORT 0x9615b53eU
|
||||
#define MENU_LABEL_VALUE_SYSTEM_INFO_RBMP_SUPPORT 0x211afc81U
|
||||
#define MENU_LABEL_VALUE_SYSTEM_INFO_RJPEG_SUPPORT 0xc70a5ea8U
|
||||
#define MENU_LABEL_VALUE_SYSTEM_INFO_RPNG_SUPPORT 0xe1dcea36U
|
||||
#define MENU_LABEL_VALUE_SYSTEM_INFO_SDL_SUPPORT 0xf9bc2a42U
|
||||
#define MENU_LABEL_VALUE_SYSTEM_INFO_SDL2_SUPPORT 0x3c2d6134U
|
||||
|
Loading…
x
Reference in New Issue
Block a user