added mgba to extras
This commit is contained in:
parent
e1c729a66e
commit
a9fd90ad6a
6 changed files with 48 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
# this logic was broken out from picoarch's all-in-one makefile
|
||||
|
||||
CORES = fceumm gambatte gpsp pcsx_rearmed picodrive snes9x2005_plus
|
||||
CORES+= beetle-vb fake-08 mednafen_supafaust pokemini # extras
|
||||
CORES+= beetle-vb fake-08 mednafen_supafaust mgba pokemini # extras
|
||||
|
||||
###############################
|
||||
|
||||
|
|
|
|||
31
cores/patches/mgba.patch
Normal file
31
cores/patches/mgba.patch
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
diff --git forkSrcPrefix/Makefile.libretro forkDstPrefix/Makefile.libretro
|
||||
index 108148f4579f4727146e5b8c1e05ef7382654208..4ff34d4c2b5c6031ce4c3256f1b70daba99a583c 100644
|
||||
--- forkSrcPrefix/Makefile.libretro
|
||||
+++ forkDstPrefix/Makefile.libretro
|
||||
@@ -417,6 +417,26 @@ else ifeq ($(platform), miyoo)
|
||||
CFLAGS += -fno-common -ftree-vectorize -funswitch-loops
|
||||
DEFINES += -std=c99
|
||||
|
||||
+# 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
|
||||
+ fpic := -fPIC
|
||||
+ PLATFORM_DEFINES += -D_GNU_SOURCE -DHAVE_STRTOF_L -DHAVE_LOCALE
|
||||
+ CFLAGS += -fomit-frame-pointer -ffast-math
|
||||
+ CFLAGS += -marm -mtune=cortex-a9 -mfpu=neon-fp16 -mfloat-abi=hard -march=armv7-a
|
||||
+ CFLAGS += -fno-common -ftree-vectorize -funswitch-loops
|
||||
+ HAVE_NEON = 1
|
||||
+ ARCH = arm
|
||||
+ BUILTIN_GPU = neon
|
||||
+ CPU_ARCH := arm
|
||||
+ MMAP_JIT_CACHE = 1
|
||||
+ HAVE_DYNAREC = 1
|
||||
+ DEFINES += -std=c99
|
||||
+
|
||||
# Windows
|
||||
else
|
||||
TARGET := $(TARGET_NAME)_libretro.dll
|
||||
Loading…
Add table
Add a link
Reference in a new issue