mirror of
https://github.com/libretro/RetroArch
synced 2025-01-26 18:35:22 +00:00
(PSL1GHT) PSL1GHT gets further now due to changes made in gl
driver
This commit is contained in:
parent
8fdd41cf76
commit
e2348714ee
@ -26,8 +26,6 @@ LIBS := -lretro_psl1ght -laudio -lEGL -lGL -lio -lm -ljpgdec -lpngdec -lsysutil
|
|||||||
|
|
||||||
OBJ = console/griffin/griffin.o console/rzlib/rzlib.o
|
OBJ = console/griffin/griffin.o console/rzlib/rzlib.o
|
||||||
|
|
||||||
OBJ += console/rgl/ps3/device_ctx.o console/rgl/ps3/rgl.o console/rgl/ps3/cgbio.o console/rgl/ps3/cgnv2rt.o
|
|
||||||
|
|
||||||
ifeq ($(HAVE_LOGGER), 1)
|
ifeq ($(HAVE_LOGGER), 1)
|
||||||
CFLAGS += -DHAVE_LOGGER
|
CFLAGS += -DHAVE_LOGGER
|
||||||
CFLAGS += -DPC_DEVELOPMENT_IP_ADDRESS=\"$(PC_DEVELOPMENT_IP_ADDRESS)\" -DPC_DEVELOPMENT_UDP_PORT=$(PC_DEVELOPMENT_UDP_PORT)
|
CFLAGS += -DPC_DEVELOPMENT_IP_ADDRESS=\"$(PC_DEVELOPMENT_IP_ADDRESS)\" -DPC_DEVELOPMENT_UDP_PORT=$(PC_DEVELOPMENT_UDP_PORT)
|
||||||
|
@ -276,6 +276,8 @@ MAIN
|
|||||||
#include "../../xdk/frontend/main.c"
|
#include "../../xdk/frontend/main.c"
|
||||||
#elif defined(GEKKO)
|
#elif defined(GEKKO)
|
||||||
#include "../../gx/frontend/main.c"
|
#include "../../gx/frontend/main.c"
|
||||||
|
#elif defined(__PSL1GHT__)
|
||||||
|
#include "../../ps3/frontend/main.c"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*============================================================
|
/*============================================================
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
#include "compat/strl.h"
|
#include "compat/strl.h"
|
||||||
#include "compat/posix_string.h"
|
#include "compat/posix_string.h"
|
||||||
|
|
||||||
#ifdef __CELLOS_LV2__
|
#if defined(__CELLOS_LV2__) && !defined(__PSL1GHT__)
|
||||||
#include <unistd.h> //stat() is defined here
|
#include <unistd.h> //stat() is defined here
|
||||||
#define S_ISDIR(x) (x & CELL_FS_S_IFDIR)
|
#define S_ISDIR(x) (x & CELL_FS_S_IFDIR)
|
||||||
#endif
|
#endif
|
||||||
|
@ -19,7 +19,9 @@
|
|||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#if defined(__CELLOS_LV2__) && !defined(__PSL1GHT__)
|
||||||
#include <sdk_version.h>
|
#include <sdk_version.h>
|
||||||
|
#endif
|
||||||
#include <sys/process.h>
|
#include <sys/process.h>
|
||||||
#ifdef HAVE_SYSUTILS
|
#ifdef HAVE_SYSUTILS
|
||||||
#include <sysutil/sysutil_screenshot.h>
|
#include <sysutil/sysutil_screenshot.h>
|
||||||
@ -37,9 +39,11 @@
|
|||||||
#ifdef HAVE_SYSMODULES
|
#ifdef HAVE_SYSMODULES
|
||||||
#include <cell/sysmodule.h>
|
#include <cell/sysmodule.h>
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef HAVE_NETPLAY
|
||||||
#include <netex/net.h>
|
#include <netex/net.h>
|
||||||
#include <np.h>
|
#include <np.h>
|
||||||
#include <np/drm.h>
|
#include <np/drm.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "../../gfx/context/ps3_ctx.h"
|
#include "../../gfx/context/ps3_ctx.h"
|
||||||
#include "../ps3_input.h"
|
#include "../ps3_input.h"
|
||||||
@ -205,9 +209,11 @@ static void get_environment_settings(int argc, char *argv[])
|
|||||||
snprintf(default_paths.cgp_dir, sizeof(default_paths.cgp_dir), "%s/presets", default_paths.core_dir);
|
snprintf(default_paths.cgp_dir, sizeof(default_paths.cgp_dir), "%s/presets", default_paths.core_dir);
|
||||||
snprintf(default_paths.input_presets_dir, sizeof(default_paths.input_presets_dir), "%s/input", default_paths.cgp_dir);
|
snprintf(default_paths.input_presets_dir, sizeof(default_paths.input_presets_dir), "%s/input", default_paths.cgp_dir);
|
||||||
snprintf(default_paths.border_dir, sizeof(default_paths.border_dir), "%s/borders", default_paths.core_dir);
|
snprintf(default_paths.border_dir, sizeof(default_paths.border_dir), "%s/borders", default_paths.core_dir);
|
||||||
|
#if defined(HAVE_CG) || defined(HAVE_GLSL)
|
||||||
snprintf(default_paths.shader_dir, sizeof(default_paths.shader_dir), "%s/shaders", default_paths.core_dir);
|
snprintf(default_paths.shader_dir, sizeof(default_paths.shader_dir), "%s/shaders", default_paths.core_dir);
|
||||||
snprintf(default_paths.shader_file, sizeof(default_paths.shader_file), "%s/shaders/stock.cg", default_paths.core_dir);
|
snprintf(default_paths.shader_file, sizeof(default_paths.shader_file), "%s/shaders/stock.cg", default_paths.core_dir);
|
||||||
snprintf(default_paths.menu_shader_file, sizeof(default_paths.menu_shader_file), "%s/shaders/Borders/Menu/border-only-rarch.cg", default_paths.core_dir);
|
snprintf(default_paths.menu_shader_file, sizeof(default_paths.menu_shader_file), "%s/shaders/Borders/Menu/border-only-rarch.cg", default_paths.core_dir);
|
||||||
|
#endif
|
||||||
snprintf(default_paths.config_file, sizeof(default_paths.config_file), "%s/retroarch.cfg", default_paths.port_dir);
|
snprintf(default_paths.config_file, sizeof(default_paths.config_file), "%s/retroarch.cfg", default_paths.port_dir);
|
||||||
snprintf(default_paths.salamander_file, sizeof(default_paths.salamander_file), "EBOOT.BIN");
|
snprintf(default_paths.salamander_file, sizeof(default_paths.salamander_file), "EBOOT.BIN");
|
||||||
}
|
}
|
||||||
|
@ -537,3 +537,12 @@
|
|||||||
(((order)<<16)|((inputA))|((inputR)<<2)|((inputG)<<4)|((inputB)<<6)|((outputA)<<8)|((outputR)<<10)|((outputG)<<12)|((outputB)<<14))
|
(((order)<<16)|((inputA))|((inputR)<<2)|((inputG)<<4)|((inputB)<<6)|((outputA)<<8)|((outputR)<<10)|((outputG)<<12)|((outputB)<<14))
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __PSL1GHT__
|
||||||
|
#include <sysutil/game.h>
|
||||||
|
#define CellGameContentSize sysGameContentSize
|
||||||
|
#define cellGameContentPermit sysGameContentPermit
|
||||||
|
#define cellGameBootCheck sysGameBootCheck
|
||||||
|
|
||||||
|
#define CELL_GAME_ATTRIBUTE_APP_HOME (1 <<1) /* boot from / app_home/PS3_GAME */
|
||||||
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user