some upstream changes, new and updated cores
This commit is contained in:
parent
5fb1cc8888
commit
efe125e3e0
40 changed files with 1922 additions and 225 deletions
35
cores/patches/mame2003-plus.patch
Normal file
35
cores/patches/mame2003-plus.patch
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
diff --git a/Makefile b/Makefile
|
||||
index 21129613..eaf61b92 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -525,6 +525,30 @@ else ifeq ($(platform), miyoo)
|
||||
PLATCFLAGS += -fomit-frame-pointer -march=armv5te -mtune=arm926ej-s -ffast-math
|
||||
CXXFLAGS += -fno-rtti -fno-exceptions
|
||||
|
||||
+# RG35XX
|
||||
+else ifeq ($(platform), rg35xx)
|
||||
+ TARGET := $(TARGET_NAME)_libretro.so
|
||||
+ CC = $(CROSS_COMPILE)gcc
|
||||
+ CXX = $(CROSS_COMPILE)g++
|
||||
+ AR = $(CROSS_COMPILE)ar
|
||||
+ fpic := -fPIC
|
||||
+ LDFLAGS += $(fpic) -shared -Wl,--version-script=link.T -Wl,-no-undefined
|
||||
+ 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 \
|
||||
+ -marm -mtune=cortex-a9 -mfpu=neon-fp16 -mfloat-abi=hard
|
||||
+ CXXFLAGS += $(CFLAGS)
|
||||
+ CPPFLAGS += $(CFLAGS)
|
||||
+ ASFLAGS += $(CFLAGS)
|
||||
+ HAVE_NEON = 1
|
||||
+ ARCH = arm
|
||||
+ CPU_ARCH := arm
|
||||
+ ARM = 1
|
||||
+
|
||||
# Emscripten
|
||||
else ifeq ($(platform), emscripten)
|
||||
TARGET := $(TARGET_NAME)_libretro_$(platform).bc
|
||||
Loading…
Add table
Add a link
Reference in a new issue