From b0ec7ab5714ab82d5bfd26bd156048f764b16601 Mon Sep 17 00:00:00 2001 From: libretroadmin Date: Mon, 30 May 2022 21:14:50 +0200 Subject: [PATCH] (Android) - Always set LIGHTREC_CUSTOM_MAP - Compile in libpcsxcore/lightrec/mem.c --- jni/Android.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jni/Android.mk b/jni/Android.mk index 519880c7..302852d4 100644 --- a/jni/Android.mk +++ b/jni/Android.mk @@ -127,6 +127,7 @@ else ifeq ($(TARGET_ARCH_ABI),x86) else COREFLAGS += -DDRC_DISABLE endif + COREFLAGS += -DLIGHTREC_CUSTOM_MAP=$(LIGHTREC_CUSTOM_MAP) ifeq ($(HAVE_ARI64),1) SOURCES_C += $(DYNAREC_DIR)/new_dynarec.c \ @@ -142,7 +143,7 @@ endif SOURCES_C += $(DYNAREC_DIR)/emu_if.c ifeq ($(HAVE_LIGHTREC),1) - COREFLAGS += -DLIGHTREC -DLIGHTREC_STATIC -DLIGHTREC_CUSTOM_MAP=$(LIGHTREC_CUSTOM_MAP) + COREFLAGS += -DLIGHTREC -DLIGHTREC_STATIC EXTRA_INCLUDES += $(DEPS_DIR)/lightning/include \ $(DEPS_DIR)/lightrec \ $(ROOT_DIR)/include/lightning \ @@ -165,6 +166,7 @@ ifeq ($(HAVE_LIGHTREC),1) $(DEPS_DIR)/lightning/lib/jit_size.c \ $(DEPS_DIR)/lightning/lib/lightning.c SOURCES_C += $(CORE_DIR)/lightrec/plugin.c + SOURCES_C += $(CORE_DIR)/lightrec/mem.c endif -- 2.39.5