From 83f3690e2dc16c9b59742abe91b4a0a2ee055e63 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 26 Apr 2014 20:34:41 +0200 Subject: [PATCH] (JNI) Add lynx target to JNI Makefile --- jni/Android.mk | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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