aboutsummaryrefslogtreecommitdiff
path: root/Makefile.libretro
diff options
context:
space:
mode:
authoraliaspider2016-01-16 17:47:28 +0100
committeraliaspider2016-01-16 17:47:28 +0100
commitf72db18e0c39a5bf115f493767decc409e10f94a (patch)
treea88f156055799bd78dafd7423440ec6a429be016 /Makefile.libretro
parent0c840ff34defe22147f497c33e0ebad9386fada6 (diff)
downloadpcsx_rearmed-f72db18e0c39a5bf115f493767decc409e10f94a.tar.gz
pcsx_rearmed-f72db18e0c39a5bf115f493767decc409e10f94a.tar.bz2
pcsx_rearmed-f72db18e0c39a5bf115f493767decc409e10f94a.zip
(3DS) - remove provileged services enabling code, it should be done by
the frontend instead. - dynamically allocate the recompiler cache, this will allow using the recompiler even when the .bss section is relocated far from the .text section (for example when using the hombrew loader).
Diffstat (limited to 'Makefile.libretro')
-rw-r--r--Makefile.libretro11
1 files changed, 4 insertions, 7 deletions
diff --git a/Makefile.libretro b/Makefile.libretro
index 2b2a362..d4b3829 100644
--- a/Makefile.libretro
+++ b/Makefile.libretro
@@ -142,20 +142,17 @@ else ifeq ($(platform), ctr)
CC = $(DEVKITARM)/bin/arm-none-eabi-gcc$(EXE_EXT)
CXX = $(DEVKITARM)/bin/arm-none-eabi-g++$(EXE_EXT)
AR = $(DEVKITARM)/bin/arm-none-eabi-ar$(EXE_EXT)
- CFLAGS += -DARM11 -D_3DS -DNO_OS -DNO_DYLIB
- CFLAGS += -march=armv6k -mtune=mpcore -mfloat-abi=hard -marm -mfpu=vfp
+ CFLAGS += -DARM11 -D_3DS -DNO_OS -DNO_DYLIB -DNO_SOCKET
+ CFLAGS += -march=armv6k -mtune=mpcore -mfloat-abi=hard -marm -mfpu=vfp -mtp=soft
CFLAGS += -Wall -mword-relocations
CFLAGS += -fomit-frame-pointer -ffast-math
- CFLAGS += -I$(CTRULIB)/include -I$(DEVKITPRO)/portlibs/armv6k/include -Ifrontend/3ds
+ CFLAGS += -Ifrontend/3ds
CFLAGS += -Werror=implicit-function-declaration
- OBJS += frontend/3ds/3ds_utils.o
-
-
# CFLAGS += -DPCSX
# BUILTIN_GPU = unai
USE_DYNAREC = 1
- DRC_CACHE_BASE = 0
+ DRC_CACHE_BASE = 1
ARCH = arm
STATIC_LINKING = 1