summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJustin Weiss2020-02-29 10:50:30 -0800
committerJustin Weiss2020-02-29 10:55:58 -0800
commit6a50b8a68d5a0595dc78c90f5d0969021beb7ea1 (patch)
tree79becdf758bdca2d5f34cc4b6de3f33400bf66c9 /Makefile
parent4d6846b4b72f0f5bbfeb684106cbf5fca8d4743a (diff)
downloadpicogpsp-6a50b8a68d5a0595dc78c90f5d0969021beb7ea1.tar.gz
picogpsp-6a50b8a68d5a0595dc78c90f5d0969021beb7ea1.tar.bz2
picogpsp-6a50b8a68d5a0595dc78c90f5d0969021beb7ea1.zip
[3DS] Fix dynarec prefetch aborts
Similar fix to https://github.com/libretro/pcsx_rearmed/pull/390. The Nintendo svcBackdoor can cause stack corruption if an interrupt happens during it, this uses Luma3DS/Rosalina's svcCustomBackdoor instead.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3d617be..eced8fb 100644
--- a/Makefile
+++ b/Makefile
@@ -251,7 +251,6 @@ else ifeq ($(platform), ctr)
CFLAGS += -fomit-frame-pointer -ffast-math
CXXFLAGS = $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
CPU_ARCH := arm
- # dynarec unavailable with the HBL on FW > 9.2
HAVE_DYNAREC = 1
STATIC_LINKING = 1
@@ -469,7 +468,7 @@ endif
ifeq ($(platform), ctr)
ifeq ($(HAVE_DYNAREC), 1)
-OBJECTS += 3ds/3ds_utils.o
+OBJECTS += 3ds/3ds_utils.o 3ds/3ds_cache_utils.o
ifeq ($(strip $(CTRULIB)),)
$(error "Please set CTRULIB in your environment. export CTRULIB=<path to>ctrulib")