whoops, forgot the core patches
This commit is contained in:
parent
22a75c0180
commit
f9a5324b28
8 changed files with 224 additions and 0 deletions
39
src/minarch/patches/snes9x2005_plus.patch
Normal file
39
src/minarch/patches/snes9x2005_plus.patch
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
diff --git forkSrcPrefix/Makefile forkDstPrefix/Makefile
|
||||
index 07d5368a8e78a020813732239ec369d83e931ede..8a9d2cd5415021f8288fb930db89ee4aff529abc 100644
|
||||
--- forkSrcPrefix/Makefile
|
||||
+++ forkDstPrefix/Makefile
|
||||
@@ -288,6 +288,34 @@ else ifeq ($(platform), miyoo)
|
||||
FLAGS += -fomit-frame-pointer -ffast-math -march=armv5te -mtune=arm926ej-s
|
||||
FLAGS += -DFAST_ALIGNED_LSB_WORD_ACCESS -fno-unroll-loops
|
||||
|
||||
+# RG35XX
|
||||
+else ifeq ($(platform), rg35xx)
|
||||
+ TARGET := $(TARGET_NAME)_libretro.so
|
||||
+ CC = $(CROSS_COMPILE)gcc
|
||||
+ CXX = $(CROSS_COMPILE)g++
|
||||
+ AR = $(CROSS_COMPILE)ar
|
||||
+ SHARED := -shared -Wl,--version-script=link.T
|
||||
+ LIBM :=
|
||||
+ fpic := -fPIC -flto
|
||||
+ CFLAGS += -Ofast \
|
||||
+ -flto=4 -fwhole-program -fuse-linker-plugin \
|
||||
+ -fdata-sections -ffunction-sections -Wl,--gc-sections \
|
||||
+ -fno-stack-protector -fno-ident -fomit-frame-pointer \
|
||||
+ -falign-functions=1 -falign-jumps=1 -falign-loops=1 \
|
||||
+ -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-unroll-loops \
|
||||
+ -fmerge-all-constants -fno-math-errno
|
||||
+ CFLAGS += -fPIC
|
||||
+ CFLAGS += -DLSB_FIRST -DFAST_ALIGNED_LSB_WORD_ACCESS -DRIGHTSHIFT_IS_SAR
|
||||
+ CFLAGS += -std=c99 -fomit-frame-pointer -ffast-math
|
||||
+ CFLAGS += -marm -mtune=cortex-a9 -mfpu=neon-vfpv4 -mfloat-abi=hard -march=armv7-a -fomit-frame-pointer
|
||||
+ # CFLAGS += -marm -mtune=cortex-a9 -mfpu=vfpv3-d16 -mfloat-abi=hard -march=armv7-a
|
||||
+ LDFLAGS += -flto
|
||||
+ OPTIMIZE += -Ofast -DNDEBUG=1
|
||||
+ HAVE_NEON = 1
|
||||
+ ARCH = arm
|
||||
+ BUILTIN_GPU = neon
|
||||
+ USE_DYNAREC = 1
|
||||
+
|
||||
# (armv7 a7, hard point, neon based) ###
|
||||
# NESC, SNESC, C64 mini
|
||||
else ifeq ($(platform), classic_armv7_a7)
|
||||
Loading…
Add table
Add a link
Reference in a new issue