Cleanup frontend/frontend_salamander.c
This commit is contained in:
parent
662806acef
commit
a05d4d6c2b
|
@ -19,7 +19,7 @@ endif
|
||||||
STRIP = $(CELL_SDK)/host-win32/ppu/bin/ppu-lv2-strip.exe
|
STRIP = $(CELL_SDK)/host-win32/ppu/bin/ppu-lv2-strip.exe
|
||||||
|
|
||||||
PPU_CFLAGS += -I. -D__CELLOS_LV2__ -DIS_SALAMANDER -DRARCH_CONSOLE -DHAVE_SYSUTILS -DHAVE_SYSMODULES -DHAVE_RARCH_EXEC -DRARCH_INTERNAL
|
PPU_CFLAGS += -I. -D__CELLOS_LV2__ -DIS_SALAMANDER -DRARCH_CONSOLE -DHAVE_SYSUTILS -DHAVE_SYSMODULES -DHAVE_RARCH_EXEC -DRARCH_INTERNAL
|
||||||
PPU_SRCS = frontend/frontend_salamander.c frontend/frontend_context.c frontend/platform/platform_null.c file_path.c compat/compat.c conf/config_file.c
|
PPU_SRCS = frontend/frontend_salamander.c frontend/frontend_context.c frontend/platform/platform_ps3.c frontend/platform/platform_null.c file_path.c compat/compat.c conf/config_file.c
|
||||||
|
|
||||||
ifeq ($(HAVE_LOGGER), 1)
|
ifeq ($(HAVE_LOGGER), 1)
|
||||||
PPU_CFLAGS += -DHAVE_LOGGER -Ilogger/netlogger
|
PPU_CFLAGS += -DHAVE_LOGGER -Ilogger/netlogger
|
||||||
|
|
|
@ -31,7 +31,7 @@ PSP_EBOOT_TITLE = RetroArch
|
||||||
PSP_EBOOT_ICON = psp1/ICON0.PNG
|
PSP_EBOOT_ICON = psp1/ICON0.PNG
|
||||||
PSP_EBOOT_PIC1 = psp1/PIC1.PNG
|
PSP_EBOOT_PIC1 = psp1/PIC1.PNG
|
||||||
|
|
||||||
OBJS = frontend/frontend_salamander.o frontend/frontend_context.o frontend/platform/platform_null.o file_path.o compat/compat.o conf/config_file.o psp1/kernel_functions.o
|
OBJS = frontend/frontend_salamander.o frontend/frontend_context.o frontend/platform/platform_psp.o frontend/platform/platform_null.o file_path.o compat/compat.o conf/config_file.o psp1/kernel_functions.o
|
||||||
|
|
||||||
PSPSDK=$(shell psp-config --pspsdk-path)
|
PSPSDK=$(shell psp-config --pspsdk-path)
|
||||||
include $(PSPSDK)/lib/build.mak
|
include $(PSPSDK)/lib/build.mak
|
||||||
|
|
|
@ -39,7 +39,7 @@ LIBS := -lfat -lwiiuse -logc -lbte
|
||||||
|
|
||||||
APP_BOOTER_DIR = wii/app_booter
|
APP_BOOTER_DIR = wii/app_booter
|
||||||
|
|
||||||
OBJ = frontend/frontend_salamander.o frontend/frontend_context.o frontend/platform/platform_null.o file_path.o compat/compat.o conf/config_file.o $(APP_BOOTER_DIR)/app_booter.binobj
|
OBJ = frontend/frontend_salamander.o frontend/frontend_context.o frontend/platform/platform_gx.o frontend/platform/platform_wii.o frontend/platform/platform_null.o file_path.o compat/compat.o conf/config_file.o $(APP_BOOTER_DIR)/app_booter.binobj
|
||||||
|
|
||||||
ifeq ($(HAVE_LOGGER), 1)
|
ifeq ($(HAVE_LOGGER), 1)
|
||||||
CFLAGS += -DHAVE_LOGGER
|
CFLAGS += -DHAVE_LOGGER
|
||||||
|
|
|
@ -19,23 +19,12 @@
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#include "../conf/config_file.h"
|
||||||
|
#include "../general.h"
|
||||||
|
#include "../file.h"
|
||||||
#include "../file_ext.h"
|
#include "../file_ext.h"
|
||||||
#include "frontend_context.h"
|
#include "frontend_context.h"
|
||||||
|
|
||||||
|
|
||||||
#if defined(__CELLOS_LV2__)
|
|
||||||
#include "platform/platform_ps3.c"
|
|
||||||
#elif defined(GEKKO)
|
|
||||||
#include "platform/platform_gx.c"
|
|
||||||
#ifdef HW_RVL
|
|
||||||
#include "platform/platform_wii.c"
|
|
||||||
#endif
|
|
||||||
#elif defined(_XBOX)
|
|
||||||
#include "platform/platform_xdk.c"
|
|
||||||
#elif defined(PSP)
|
|
||||||
#include "platform/platform_psp.c"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
struct defaults default_paths;
|
struct defaults default_paths;
|
||||||
|
|
||||||
//We need to set libretro to the first entry in the cores
|
//We need to set libretro to the first entry in the cores
|
||||||
|
|
Loading…
Reference in New Issue