diff --git a/Makefile.common b/Makefile.common index 5db41bf3ab..9397a25df5 100644 --- a/Makefile.common +++ b/Makefile.common @@ -650,7 +650,7 @@ ifeq ($(HAVE_ZLIB), 1) OBJ += libretro-common/file/file_extract.o OBJ += $(ZLIB_OBJS) DEFINES += -DHAVE_ZLIB - #HAVE_RPNG = 1 + HAVE_RPNG = 1 HAVE_COMPRESSION = 1 ifeq ($(WANT_ZLIB), 1) DEFINES += -DWANT_ZLIB diff --git a/config.features.h b/config.features.h index 0677142006..ae262ff93b 100644 --- a/config.features.h +++ b/config.features.h @@ -260,6 +260,24 @@ static const bool _python_supp = true; static const bool _python_supp = false; #endif +#if defined(HAVE_COCOA) || defined(HAVE_COCOATOUCH) +static const bool _cocoa_supp = true; +#else +static const bool _cocoa_supp = false; +#endif + +#ifdef HAVE_RPNG +static const bool _rpng_supp = true; +#else +static const bool _rpng_supp = false; +#endif + +#ifdef HAVE_CORETEXT +static const bool _coretext_supp = true; +#else +static const bool _coretext_supp = false; +#endif + #if !defined(_WIN32) && !defined(GLOBAL_CONFIG_DIR) #if defined(__HAIKU__) #define GLOBAL_CONFIG_DIR "/system/settings" diff --git a/menu/menu_entries_cbs_deferred_push.c b/menu/menu_entries_cbs_deferred_push.c index ea53a16814..d57123e59c 100644 --- a/menu/menu_entries_cbs_deferred_push.c +++ b/menu/menu_entries_cbs_deferred_push.c @@ -468,6 +468,16 @@ static int deferred_push_system_information(void *data, void *userdata, "Network Command interface support: %s", _network_command_supp ? "true" : "false"); menu_list_push(list, feat_str, "", MENU_SETTINGS_CORE_INFO_NONE, 0); + + snprintf(feat_str, sizeof(feat_str), + "Cocoa support: %s", _cocoa_supp ? "true" : "false"); + menu_list_push(list, feat_str, "", + MENU_SETTINGS_CORE_INFO_NONE, 0); + + snprintf(feat_str, sizeof(feat_str), + "PNG support (RPNG): %s", _rpng_supp ? "true" : "false"); + menu_list_push(list, feat_str, "", + MENU_SETTINGS_CORE_INFO_NONE, 0); snprintf(feat_str, sizeof(feat_str), "SDL1.2 support: %s", _sdl_supp ? "true" : "false"); @@ -630,6 +640,11 @@ static int deferred_push_system_information(void *data, void *userdata, menu_list_push(list, feat_str, "", MENU_SETTINGS_CORE_INFO_NONE, 0); + snprintf(feat_str, sizeof(feat_str), + "CoreText support: %s", _coretext_supp ? "true" : "false"); + menu_list_push(list, feat_str, "", + MENU_SETTINGS_CORE_INFO_NONE, 0); + snprintf(feat_str, sizeof(feat_str), "FreeType support: %s", _freetype_supp ? "true" : "false"); menu_list_push(list, feat_str, "", diff --git a/retroarch.c b/retroarch.c index 49eca90f29..2930c6b308 100644 --- a/retroarch.c +++ b/retroarch.c @@ -129,9 +129,11 @@ static void print_features(void) _PSUPP(dynamic, "Dynamic", "Dynamic run-time loading of libretro library"); _PSUPP(ffmpeg, "FFmpeg", "On-the-fly recording of gameplay with libavcodec"); _PSUPP(freetype, "FreeType", "TTF font rendering with FreeType"); + _PSUPP(coretext, "CoreText", "TTF font rendering with Apple CoreText"); _PSUPP(netplay, "Netplay", "Peer-to-peer netplay"); _PSUPP(python, "Python", "Script support in shaders"); _PSUPP(libusb, "Libusb", "Libusb support"); + _PSUPP(cocoa, "Cocoa", "Cocoa UI companion support (for OSX and/or iOS)."); } #undef _PSUPP