diff --git a/libretro/Makefile.common b/libretro/Makefile.common index 624d3f837cda..7d44b4402fec 100644 --- a/libretro/Makefile.common +++ b/libretro/Makefile.common @@ -486,7 +486,6 @@ SOURCES_CXX += $(NATIVEDIR)/math/dataconv.cpp \ $(COREDIR)/Util/PPGeDraw.cpp \ $(COREDIR)/Util/AudioFormat.cpp \ $(COREDIR)/Util/PortManager.cpp \ - $(EXTDIR)/disarm.cpp \ $(CORE_DIR)/UI/TextureUtil.cpp \ $(CORE_DIR)/UI/GameInfoCache.cpp @@ -509,6 +508,7 @@ ifeq ($(WITH_DYNAREC),1) $(COREDIR)/MIPS/ARM/ArmJit.cpp \ $(COREDIR)/MIPS/ARM/ArmRegCache.cpp \ $(COREDIR)/MIPS/ARM/ArmRegCacheFPU.cpp \ + $(EXTDIR)/disarm.cpp \ $(GPUCOMMONDIR)/VertexDecoderArm.cpp ifeq ($(HAVE_NEON),1) @@ -545,6 +545,7 @@ ifeq ($(WITH_DYNAREC),1) SOURCES_CXX += \ $(COREDIR)/MIPS/ARM/ArmCompVFPUNEON.cpp \ $(COREDIR)/MIPS/ARM/ArmCompVFPUNEONUtil.cpp \ + $(COREDIR)/Util/AudioFormatNEON.cpp \ $(COMMONDIR)/ColorConvNEON.cpp \ $(GPUDIR)/Common/TextureDecoderNEON.cpp @@ -591,11 +592,6 @@ endif SOURCES_C += $(NATIVEDIR)/math/fast/fast_matrix_sse.c endif endif -SOURCES_CXX += \ - $(COMMONDIR)/ArmEmitter.cpp \ - $(COMMONDIR)/Arm64Emitter.cpp \ - $(COREDIR)/Util/DisArm64.cpp - #UDIS86 # Compiled and linked even on ARM for now diff --git a/libretro/jni/Android.mk b/libretro/jni/Android.mk index e1b48c2f7a64..f5703ba4c40b 100644 --- a/libretro/jni/Android.mk +++ b/libretro/jni/Android.mk @@ -9,6 +9,7 @@ COREFLAGS := CORE_DIR := ../.. FFMPEGDIR := $(CORE_DIR)/ffmpeg FFMPEGLIBS += libavformat libavcodec libavutil libswresample libswscale +WITH_DYNAREC := 1 ifeq ($(TARGET_ARCH),arm64) COREFLAGS += -DARM64 -D_ARCH_64