From 6a50b8a68d5a0595dc78c90f5d0969021beb7ea1 Mon Sep 17 00:00:00 2001 From: Justin Weiss Date: Sat, 29 Feb 2020 10:50:30 -0800 Subject: [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. --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Makefile') 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=ctrulib") -- cgit v1.2.3