LOCAL_CFLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\"
endif
-#fix stupid change in ndk r11 that breaks compiling even when the exe would run fine
-LOCAL_DISABLE_FATAL_LINKER_WARNINGS := true
-
LOCAL_MODULE := retro
R := ../
asm_render = 0
asm_ym2612 = 0
asm_misc = 0
-asm_cdpico = 0
asm_cdmemory = 0
asm_mix = 0
endif
use_cyclone = 1
- use_drz80 = 1
+
+ # texrels, -perf ~~8%
+ use_drz80 = 0
+ use_cz80 = 1
+
use_sh2drc = 1
use_svpdrc = 1
- asm_memory = 1
+# asm_memory = 1 # texrels, -perf negligible
asm_render = 1
- asm_ym2612 = 1
+# asm_ym2612 = 1 # texrels, -perf ~~4%
asm_misc = 1
- asm_cdpico = 1
- asm_cdmemory = 1
+# asm_cdmemory = 1 # texrels
asm_mix = 1
+
+# for armeabi to build...
+CYCLONE_CONFIG = cyclone_config_armv4.h
+
+$(cleantarget)::
+ $(MAKE) -C $(FR)cpu/cyclone/ clean
+
else
use_fame = 1
use_cz80 = 1
LOCAL_C_INCLUDES += $(R)
# note: don't use -O3, causes some NDKs run out of memory while compiling FAME
-LOCAL_CFLAGS += -Wall -O2 -ffast-math -DNDEBUG -DINLINE=inline
+LOCAL_CFLAGS += -Wall -O2 -ffast-math -DNDEBUG
LOCAL_CFLAGS += $(addprefix -D,$(DEFINES))
LOCAL_LDLIBS := -llog