mirror of
https://github.com/FunKey-Project/gpsp_libretro.git
synced 2026-03-27 22:32:41 +01:00
[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.
This commit is contained in:
3
Makefile
3
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")
|
||||
|
||||
Reference in New Issue
Block a user