diff options
author | Autechre | 2020-10-15 18:54:26 +0200 |
---|---|---|
committer | GitHub | 2020-10-15 18:54:26 +0200 |
commit | fed55b71325a5cd2ead019b2fe355644f7a6e794 (patch) | |
tree | 976ef8cf2b58958ad4888f97fa736916d6064386 /Makefile | |
parent | 5f03bb288e72cc19c04060549b486a6311afe9c9 (diff) | |
parent | 23294848d036e19ca45b8b511d343c95b9f914e6 (diff) | |
download | snes9x2005-fed55b71325a5cd2ead019b2fe355644f7a6e794.tar.gz snes9x2005-fed55b71325a5cd2ead019b2fe355644f7a6e794.tar.bz2 snes9x2005-fed55b71325a5cd2ead019b2fe355644f7a6e794.zip |
Merge pull request #76 from jdgleaver/optimisations
Backports: Colour operations from Snes9x 1.60 + MIPS optimisations from PocketSNES
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -3,6 +3,7 @@ PERF_TEST = 0 LOAD_FROM_MEMORY_TEST = 1 USE_BLARGG_APU = 0 LAGFIX = 1 +USE_OLD_COLOUR_OPS = 0 SPACE := SPACE := $(SPACE) $(SPACE) @@ -205,6 +206,7 @@ else ifeq ($(platform), psp1) -fno-builtin -fno-exceptions -ffunction-sections DEFS += -DPSP -D_PSP_FW_VERSION=371 STATIC_LINKING := 1 + USE_OLD_COLOUR_OPS = 1 # Vita else ifeq ($(platform), vita) TARGET := $(TARGET_NAME)_libretro_$(platform).a @@ -255,6 +257,7 @@ else ifeq ($(platform), wiiu) else ifeq ($(platform), emscripten) TARGET := $(TARGET_NAME)_libretro_$(platform).bc STATIC_LINKING = 1 + # GCW0 else ifeq ($(platform), gcw0) TARGET := $(TARGET_NAME)_libretro.so @@ -264,9 +267,9 @@ else ifeq ($(platform), gcw0) fpic := -fPIC -nostdlib SHARED := -shared -Wl,--version-script=link.T LIBM := - LOAD_FROM_MEMORY_TEST = 0 - CFLAGS += -ffast-math -march=mips32 -mtune=mips32r2 -mhard-float - + FLAGS += -fomit-frame-pointer -ffast-math -march=mips32 -mtune=mips32r2 -mhard-float + FLAGS += -DFAST_LSB_WORD_ACCESS + # (armv7 a7, hard point, neon based) ### # NESC, SNESC, C64 mini else ifeq ($(platform), classic_armv7_a7) |