CFLAGS += -DIOS
ARCH := arm
- HAVE_NEON = 1
- USE_DYNAREC = 1
+ HAVE_NEON = 0
+ USE_DYNAREC = 0
+
+ use_fame = 1
+ use_cz80 = 1
+ use_sh2mame = 1
+ use_cyclone = 0
+ use_drz80 = 0
+ use_sh2drc = 0
+ use_svpdrc = 0
+
+ asm_memory = 0
+ asm_render = 0
+ asm_ym2612 = 0
+ asm_misc = 0
+ asm_cdpico = 0
+ asm_cdmemory = 0
+ asm_mix = 0
else ifeq ($(platform), ps3)
TARGET := $(TARGET_NAME)_libretro_ps3.a
CC = $(CELL_SDK)/host-win32/ppu/bin/ppu-lv2-gcc.exe
SRCS_COMMON += $(R)platform/linux/pprof.c
endif
-# asm stuff
+# ARM asm stuff
+ifeq "$(ARCH)" "arm"
ifeq "$(asm_render)" "1"
DEFINES += _ASM_DRAW_C
SRCS_COMMON += $(R)pico/draw_arm.S $(R)pico/draw2_arm.S
DEFINES += _ASM_32X_DRAW
SRCS_COMMON += $(R)pico/32x/draw_arm.s
endif
+ifeq "$(asm_mix)" "1"
+SRCS_COMMON += $(R)pico/sound/mix_arm.s
+endif
+endif # ARCH=arm
# === Pico core ===
# Pico
# SVP
SRCS_COMMON += $(R)pico/carthw/svp/svp.c $(R)pico/carthw/svp/memory.c \
$(R)pico/carthw/svp/ssp16.c
-ifeq "$(ARCH)" "arm"
+ifeq "$(use_svpdrc)" "1"
SRCS_COMMON += $(R)pico/carthw/svp/stub_arm.S
SRCS_COMMON += $(R)pico/carthw/svp/compiler.c
endif
# sound
SRCS_COMMON += $(R)pico/sound/sound.c
SRCS_COMMON += $(R)pico/sound/sn76496.c $(R)pico/sound/ym2612.c
-ifeq "$(ARCH)" "arm"
-SRCS_COMMON += $(R)pico/sound/mix_arm.s
-else
+ifneq "$(ARCH)$(asm_mix)" "arm1"
SRCS_COMMON += $(R)pico/sound/mix.c
endif