mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-01 22:42:22 +00:00
(PSL1GHT) Use HAVE_GCM as a define for compiling in the libgcm video
driver
This commit is contained in:
parent
1f0a5f9615
commit
2dab525011
@ -73,6 +73,7 @@ endif
|
||||
SHARED_FLAGS :=
|
||||
|
||||
SHARED_FLAGS += -DHAVE_VIDEO_LAYOUT
|
||||
SHARED_FLAGS += -DHAVE_GCM
|
||||
SHARED_FLAGS += -DHAVE_MENU \
|
||||
-DHAVE_CONFIGFILE \
|
||||
-DHAVE_PATCH \
|
||||
|
@ -86,7 +86,7 @@ endif
|
||||
SHARED_FLAGS :=
|
||||
|
||||
SHARED_FLAGS += -DHAVE_VIDEO_LAYOUT
|
||||
SHARED_FLAGS += -DHAVE_MENU -DHAVE_CONFIGFILE -DRARCH_CONSOLE -DHAVE_OVERLAY -DHAVE_HEADSET -DHAVE_CG -DHAVE_CG_RUNTIME_COMPILER -DHAVE_GCMGL -DHAVE_SYSMODULES -DHAVE_SYSUTILS -DHAVE_RARCH_EXEC -DHAVE_MOUSE -DHAVE_ZLIB -DHAVE_RPNG -DHAVE_GRIFFIN=1 -DHAVE_NETWORKING=1 -DHAVE_SOCKET_LEGACY=1 -DPC_DEVELOPMENT_IP_ADDRESS=\"$(PC_DEVELOPMENT_IP_ADDRESS)\" -DPC_DEVELOPMENT_UDP_PORT=$(PC_DEVELOPMENT_UDP_PORT) -Wno-char-subscripts -DHAVE_CC_RESAMPLER -DHAVE_MULTIMAN -DHAVE_RGUI -DIS_SALAMANDER
|
||||
SHARED_FLAGS += -DHAVE_MENU -DHAVE_CONFIGFILE -DRARCH_CONSOLE -DHAVE_OVERLAY -DHAVE_HEADSET -DHAVE_CG -DHAVE_CG_RUNTIME_COMPILER -DHAVE_SYSMODULES -DHAVE_SYSUTILS -DHAVE_RARCH_EXEC -DHAVE_MOUSE -DHAVE_ZLIB -DHAVE_RPNG -DHAVE_GRIFFIN=1 -DHAVE_NETWORKING=1 -DHAVE_SOCKET_LEGACY=1 -DPC_DEVELOPMENT_IP_ADDRESS=\"$(PC_DEVELOPMENT_IP_ADDRESS)\" -DPC_DEVELOPMENT_UDP_PORT=$(PC_DEVELOPMENT_UDP_PORT) -Wno-char-subscripts -DHAVE_CC_RESAMPLER -DHAVE_MULTIMAN -DHAVE_RGUI -DIS_SALAMANDER -DHAVE_GCM
|
||||
CFLAGS += -std=gnu99 $(SHARED_FLAGS)
|
||||
CXXFLAGS += $(SHARED_FLAGS)
|
||||
|
||||
|
@ -466,7 +466,7 @@ static bool wiiu_font_init_first(
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef __PSL1GHT__
|
||||
#ifdef HAVE_GCM
|
||||
static bool rsx_font_init_first(
|
||||
const void **font_driver, void **font_handle,
|
||||
void *video_data, const char *font_path,
|
||||
@ -580,7 +580,7 @@ static bool font_init_first(
|
||||
return switch_font_init_first(font_driver, font_handle,
|
||||
video_data, font_path, font_size, is_threaded);
|
||||
#endif
|
||||
#ifdef __PSL1GHT__
|
||||
#ifdef HAVE_GCM
|
||||
case FONT_DRIVER_RENDER_RSX:
|
||||
return rsx_font_init_first(font_driver, font_handle,
|
||||
video_data, font_path, font_size, is_threaded);
|
||||
|
@ -111,7 +111,7 @@ static gfx_display_ctx_driver_t *gfx_display_ctx_drivers[] = {
|
||||
#ifdef WIIU
|
||||
&gfx_display_ctx_wiiu,
|
||||
#endif
|
||||
#ifdef __PSL1GHT__
|
||||
#ifdef HAVE_GCM
|
||||
&gfx_display_ctx_rsx,
|
||||
#endif
|
||||
#if defined(_WIN32) && !defined(_XBOX) && !defined(__WINRT__)
|
||||
|
@ -267,7 +267,7 @@ video_driver_t video_null = {
|
||||
};
|
||||
|
||||
const video_driver_t *video_drivers[] = {
|
||||
#ifdef __PSL1GHT__
|
||||
#ifdef HAVE_GCM
|
||||
&video_gcm,
|
||||
#endif
|
||||
#ifdef HAVE_VITA2D
|
||||
|
@ -535,7 +535,7 @@ VIDEO DRIVER
|
||||
#include "../gfx/drivers/xvideo.c"
|
||||
#endif
|
||||
|
||||
#if defined(__PSL1GHT__)
|
||||
#if defined(HAVE_GCM)
|
||||
#include "../gfx/drivers/rsx_gfx.c"
|
||||
#include "../gfx/drivers_display/gfx_display_rsx.c"
|
||||
#elif defined(GEKKO)
|
||||
@ -642,7 +642,7 @@ FONTS
|
||||
#include "../gfx/drivers_font/wiiu_font.c"
|
||||
#endif
|
||||
|
||||
#if defined(__PSL1GHT__)
|
||||
#if defined(HAVE_GCM)
|
||||
#include "../gfx/drivers_font/rsx_font.c"
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user