1
0
mirror of https://github.com/libretro/RetroArch synced 2025-04-17 20:43:10 +00:00

(PSL1GHT) Use HAVE_GCM as a define for compiling in the libgcm video

driver
This commit is contained in:
libretroadmin 2023-02-21 14:24:00 +01:00
parent 1f0a5f9615
commit 2dab525011
6 changed files with 8 additions and 7 deletions

@ -73,6 +73,7 @@ endif
SHARED_FLAGS := SHARED_FLAGS :=
SHARED_FLAGS += -DHAVE_VIDEO_LAYOUT SHARED_FLAGS += -DHAVE_VIDEO_LAYOUT
SHARED_FLAGS += -DHAVE_GCM
SHARED_FLAGS += -DHAVE_MENU \ SHARED_FLAGS += -DHAVE_MENU \
-DHAVE_CONFIGFILE \ -DHAVE_CONFIGFILE \
-DHAVE_PATCH \ -DHAVE_PATCH \

@ -86,7 +86,7 @@ endif
SHARED_FLAGS := SHARED_FLAGS :=
SHARED_FLAGS += -DHAVE_VIDEO_LAYOUT 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) CFLAGS += -std=gnu99 $(SHARED_FLAGS)
CXXFLAGS += $(SHARED_FLAGS) CXXFLAGS += $(SHARED_FLAGS)

@ -466,7 +466,7 @@ static bool wiiu_font_init_first(
} }
#endif #endif
#ifdef __PSL1GHT__ #ifdef HAVE_GCM
static bool rsx_font_init_first( static bool rsx_font_init_first(
const void **font_driver, void **font_handle, const void **font_driver, void **font_handle,
void *video_data, const char *font_path, 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, return switch_font_init_first(font_driver, font_handle,
video_data, font_path, font_size, is_threaded); video_data, font_path, font_size, is_threaded);
#endif #endif
#ifdef __PSL1GHT__ #ifdef HAVE_GCM
case FONT_DRIVER_RENDER_RSX: case FONT_DRIVER_RENDER_RSX:
return rsx_font_init_first(font_driver, font_handle, return rsx_font_init_first(font_driver, font_handle,
video_data, font_path, font_size, is_threaded); video_data, font_path, font_size, is_threaded);

@ -111,7 +111,7 @@ static gfx_display_ctx_driver_t *gfx_display_ctx_drivers[] = {
#ifdef WIIU #ifdef WIIU
&gfx_display_ctx_wiiu, &gfx_display_ctx_wiiu,
#endif #endif
#ifdef __PSL1GHT__ #ifdef HAVE_GCM
&gfx_display_ctx_rsx, &gfx_display_ctx_rsx,
#endif #endif
#if defined(_WIN32) && !defined(_XBOX) && !defined(__WINRT__) #if defined(_WIN32) && !defined(_XBOX) && !defined(__WINRT__)

@ -267,7 +267,7 @@ video_driver_t video_null = {
}; };
const video_driver_t *video_drivers[] = { const video_driver_t *video_drivers[] = {
#ifdef __PSL1GHT__ #ifdef HAVE_GCM
&video_gcm, &video_gcm,
#endif #endif
#ifdef HAVE_VITA2D #ifdef HAVE_VITA2D

@ -535,7 +535,7 @@ VIDEO DRIVER
#include "../gfx/drivers/xvideo.c" #include "../gfx/drivers/xvideo.c"
#endif #endif
#if defined(__PSL1GHT__) #if defined(HAVE_GCM)
#include "../gfx/drivers/rsx_gfx.c" #include "../gfx/drivers/rsx_gfx.c"
#include "../gfx/drivers_display/gfx_display_rsx.c" #include "../gfx/drivers_display/gfx_display_rsx.c"
#elif defined(GEKKO) #elif defined(GEKKO)
@ -642,7 +642,7 @@ FONTS
#include "../gfx/drivers_font/wiiu_font.c" #include "../gfx/drivers_font/wiiu_font.c"
#endif #endif
#if defined(__PSL1GHT__) #if defined(HAVE_GCM)
#include "../gfx/drivers_font/rsx_font.c" #include "../gfx/drivers_font/rsx_font.c"
#endif #endif