If it crashes please report (logs required).
ARCH := arm64
BUILTIN_GPU = unai
HAVE_VFS_FD = 0
- CFLAGS += -O3 -fomit-frame-pointer -ffast-math -I$(DEVKITPRO)/libnx/include/ -fPIE -Wl,--allow-multiple-definition -include $(LIBNX)/include/switch.h
+ CFLAGS += -O3 -fomit-frame-pointer -ffast-math -I$(DEVKITPRO)/libnx/include/ -fPIE -Wl,--allow-multiple-definition # -include $(LIBNX)/include/switch.h
CFLAGS += -specs=$(DEVKITPRO)/libnx/switch.specs -DNO_OS -DNO_DYLIB -DNO_SOCKET -D__arm64__ -D__ARM_NEON__
CFLAGS += -D__SWITCH__
CFLAGS += -DARM -D__aarch64__=1 -march=armv8-a -mtune=cortex-a57 -mtp=soft -DHAVE_INTTYPES -DLSB_FIRST -ffast-math -mcpu=cortex-a57+crc+fp+simd -ffunction-sections
CFLAGS += -Ifrontend/switch -ftree-vectorize
LIBPTHREAD :=
STATIC_LINKING=1
- # Lightning requires rw/rx patches first
- DYNAREC := 0
+ DYNAREC = ari64
# Lakka Switch (arm64)
else ifeq ($(platform), arm64)
#define MAP_FAILED ((void *)-1)
-static void* dynarec_cache = NULL;
-static void* dynarec_cache_mapping = NULL;
+//static void* dynarec_cache = NULL;
+//static void* dynarec_cache_mapping = NULL;
static inline void* mmap(void *addr, size_t len, int prot, int flags, int fd, off_t offset)
{