diff --git a/jni/Android.mk b/jni/Android.mk index 489e5de..0bb57c6 100644 --- a/jni/Android.mk +++ b/jni/Android.mk @@ -73,6 +73,24 @@ ifeq ($(core), psx) $(CORE_DIR)/input/multitap.cpp \ $(CORE_DIR)/input/mouse.cpp TARGET_NAME := mednafen_psx_libretro +else ifeq ($(core), lynx) + core = lynx + NEED_BPP = 32 + NEED_BLIP = 1 + NEED_STEREO_SOUND = 1 + CORE_DEFINE := -DWANT_LYNX_EMU + CORE_DIR := $(MEDNAFEN_DIR)/lynx + NEED_CRC32 = 1 + +CORE_SOURCES := $(CORE_DIR)/cart.cpp \ + $(CORE_DIR)/c65c02.cpp \ + $(CORE_DIR)/memmap.cpp \ + $(CORE_DIR)/mikie.cpp \ + $(CORE_DIR)/ram.cpp \ + $(CORE_DIR)/rom.cpp \ + $(CORE_DIR)/susie.cpp \ + $(CORE_DIR)/system.cpp +TARGET_NAME := mednafen_lynx_libretro else ifeq ($(core), pce_fast) core = pce_fast PTHREAD_FLAGS = -pthread