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
34
cores/patches/fake-08.patch
Executable file
34
cores/patches/fake-08.patch
Executable file
|
|
@ -0,0 +1,34 @@
|
|||
diff --git forkSrcPrefix/platform/libretro/Makefile forkDstPrefix/platform/libretro/Makefile
|
||||
index be0f1b46bb3ab10be4a9f896f5e8841dd630b35b..cc7a7249135bb690885e7f5fda09f9eb8fdeac22 100644
|
||||
--- forkSrcPrefix/platform/libretro/Makefile
|
||||
+++ forkDstPrefix/platform/libretro/Makefile
|
||||
@@ -123,7 +123,16 @@ else ifeq ($(platform), miyoomini)
|
||||
CXXFLAGS += -marm -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard -march=armv7ve -D_NEED_FULL_PATH_
|
||||
fpic := -fPIC
|
||||
SHARED := -shared -Wl,--version-script=link.T
|
||||
-
|
||||
+else ifeq ($(platform), rg35xx)
|
||||
+ TARGET := $(TARGET_NAME)_libretro.so
|
||||
+ CC = $(CROSS_COMPILE)gcc
|
||||
+ CXX = $(CROSS_COMPILE)g++
|
||||
+ AR = $(CROSS_COMPILE)ar
|
||||
+ STRIP = $(CROSS_COMPILE)strip
|
||||
+ CXXFLAGS += -marm -mtune=cortex-a9 -mfpu=neon-fp16 -mfloat-abi=hard -march=armv7-a
|
||||
+ CXXFLAGS += -fomit-frame-pointer -ffast-math -fno-common -ftree-vectorize -funswitch-loops
|
||||
+ fpic := -fPIC
|
||||
+ SHARED := -shared -Wl,--version-script=link.T
|
||||
else ifeq ($(platform), gcw0)
|
||||
TARGET := $(TARGET_NAME)_libretro_gcw0.so
|
||||
CC = /opt/gcw0-toolchain/usr/bin/mipsel-linux-gcc
|
||||
diff --git forkSrcPrefix/platform/libretro/libretro.cpp forkDstPrefix/platform/libretro/libretro.cpp
|
||||
index d95ccb6cab52abfe7620ff84dd5cbb450bafe750..24687335ad410096aa48f29e13dcb479171a06fc 100644
|
||||
--- forkSrcPrefix/platform/libretro/libretro.cpp
|
||||
+++ forkDstPrefix/platform/libretro/libretro.cpp
|
||||
@@ -636,6 +636,7 @@ EXPORT bool retro_load_game(struct retro_game_info const *info)
|
||||
else {
|
||||
_vm->QueueCartChange(info->path);
|
||||
}
|
||||
+ _vm->UpdateAndDraw();
|
||||
|
||||
return true;
|
||||
}
|
||||
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
|
||||
23
cores/patches/race.patch
Normal file
23
cores/patches/race.patch
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
diff --git forkSrcPrefix/Makefile forkDstPrefix/Makefile
|
||||
index 792a6d82915c32edd3df6ceec541499f6ca25ac5..dc02b361d7db47e011b6d3addf89cfb31503575a 100644
|
||||
--- forkSrcPrefix/Makefile
|
||||
+++ forkDstPrefix/Makefile
|
||||
@@ -373,6 +373,18 @@ else ifeq ($(platform), miyoo)
|
||||
CFLAGS += -fomit-frame-pointer -ffast-math -march=armv5te -mtune=arm926ej-s
|
||||
CXXFLAGS += $(CFLAGS)
|
||||
|
||||
+# RG35XX
|
||||
+else ifeq ($(platform), rg35xx)
|
||||
+ TARGET := $(TARGET_NAME)_libretro.so
|
||||
+ CC = $(CROSS_COMPILE)gcc
|
||||
+ CXX = $(CROSS_COMPILE)g++
|
||||
+ AR = $(CROSS_COMPILE)ar
|
||||
+ fpic := -fPIC
|
||||
+ SHARED := -shared -Wl,-version-script=$(LIBRETRO_DIR)/link.T
|
||||
+ PLATFORM_DEFINES := -DCC_RESAMPLER -DCC_RESAMPLER_NO_HIGHPASS
|
||||
+ CFLAGS += -fomit-frame-pointer -ffast-math -marm -mtune=cortex-a9 -mfpu=neon-fp16 -mfloat-abi=hard -march=armv7-a
|
||||
+ CXXFLAGS += $(CFLAGS)
|
||||
+
|
||||
# Windows MSVC 2010 x64
|
||||
else ifeq ($(platform), windows_msvc2010_x64)
|
||||
CC = cl.exe
|
||||
Loading…
Add table
Add a link
Reference in a new issue