diff options
| author | neonloop | 2021-10-20 14:46:17 +0000 | 
|---|---|---|
| committer | neonloop | 2021-10-20 14:46:17 +0000 | 
| commit | 7c003401f4f1e5463f20af1dc63b25ad8a15e3c1 (patch) | |
| tree | 2483c34fe9a7f585ea2065566071469a7963fe78 /patches | |
| parent | 0a40303ac6cea506ff678986af5c43d3f689352b (diff) | |
| download | picoarch-7c003401f4f1e5463f20af1dc63b25ad8a15e3c1.tar.gz picoarch-7c003401f4f1e5463f20af1dc63b25ad8a15e3c1.tar.bz2 picoarch-7c003401f4f1e5463f20af1dc63b25ad8a15e3c1.zip  | |
Adds QuickNES core
Diffstat (limited to 'patches')
| -rw-r--r-- | patches/quicknes/1000-trimui-build.patch | 25 | 
1 files changed, 25 insertions, 0 deletions
diff --git a/patches/quicknes/1000-trimui-build.patch b/patches/quicknes/1000-trimui-build.patch new file mode 100644 index 0000000..8cc40f9 --- /dev/null +++ b/patches/quicknes/1000-trimui-build.patch @@ -0,0 +1,25 @@ +diff --git a/Makefile b/Makefile +index 2405fd3..a075991 100644 +--- a/Makefile ++++ b/Makefile +@@ -383,6 +383,20 @@ else ifeq ($(platform), miyoo) + 	PLATFORM_DEFINES += -O3 -fomit-frame-pointer -march=armv5te -mtune=arm926ej-s -ffast-math + 	CXXFLAGS += -fno-rtti -fno-exceptions +  ++# TRIMUI ++else ifeq ($(platform), trimui) ++	TARGET := $(TARGET_NAME)_libretro.so ++	CC = $(CROSS_COMPILE)gcc ++	CXX = $(CROSS_COMPILE)g++ ++	AR = $(CROSS_COMPILE)ar ++	SHARED := -shared -Wl,--version-script=link.T -Wl,-no-undefined ++	PLATFORM_DEFINES := -DNO_UNALIGNED_ACCESS ++	PLATFORM_DEFINES += -Ofast -fomit-frame-pointer -march=armv5te -mtune=arm926ej-s -ffast-math -fno-PIC -flto ++	CXXFLAGS += -fno-rtti -fno-exceptions ++	ifeq (,$(DEBUG)) ++		LDFLAGS += -s ++	endif ++ + # Windows MSVC 2017 all architectures + else ifneq (,$(findstring windows_msvc2017,$(platform))) +   | 
