From 8c24c86a49b23086941814e3ae1d58a2993dac7a Mon Sep 17 00:00:00 2001 From: jdgleaver Date: Thu, 15 Oct 2020 14:37:46 +0100 Subject: Backports: Colour operations from Snes9x 1.60 + MIPS optimisations from PocketSNES --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7e9c6f8..a819a14 100644 --- a/Makefile +++ b/Makefile @@ -255,6 +255,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 +265,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) -- cgit v1.2.3 From 23294848d036e19ca45b8b511d343c95b9f914e6 Mon Sep 17 00:00:00 2001 From: jdgleaver Date: Thu, 15 Oct 2020 17:00:00 +0100 Subject: Add 'USE_OLD_COLOUR_OPS' flag + PSP ifdef guards --- Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a819a14..0ff0410 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3