aboutsummaryrefslogtreecommitdiff
path: root/patches/snes9x2002/0001-trimui-support.patch
diff options
context:
space:
mode:
authorneonloop2021-08-10 17:31:51 +0000
committerneonloop2021-08-10 17:31:51 +0000
commit5d165e6ef6b5cd79c1b8b20fbdf716d73fbebd1b (patch)
tree8eeb6e60e41fd8fb48197964fe4041ea6dd55a55 /patches/snes9x2002/0001-trimui-support.patch
parent9131d8b6f46e62fa3cf286b6306797576630872b (diff)
downloadpicoarch-5d165e6ef6b5cd79c1b8b20fbdf716d73fbebd1b.tar.gz
picoarch-5d165e6ef6b5cd79c1b8b20fbdf716d73fbebd1b.tar.bz2
picoarch-5d165e6ef6b5cd79c1b8b20fbdf716d73fbebd1b.zip
Renames core patch files
First numbers for upstreamable patches. Later numbers for picoarch-specific patches.
Diffstat (limited to 'patches/snes9x2002/0001-trimui-support.patch')
-rw-r--r--patches/snes9x2002/0001-trimui-support.patch50
1 files changed, 0 insertions, 50 deletions
diff --git a/patches/snes9x2002/0001-trimui-support.patch b/patches/snes9x2002/0001-trimui-support.patch
deleted file mode 100644
index 1f7659d..0000000
--- a/patches/snes9x2002/0001-trimui-support.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-diff --git a/Makefile b/Makefile
-index e42d169..a1f8794 100644
---- a/Makefile
-+++ b/Makefile
-@@ -244,6 +244,23 @@ else ifeq ($(platform), gcw0)
- CFLAGS += -fno-builtin -fno-exceptions
- CFLAGS += -DPATH_MAX=256 -DFAST_LSB_WORD_ACCESS
-
-+else ifeq ($(platform), trimui)
-+ TARGET := $(TARGET_NAME)_libretro.so
-+ CC = $(CROSS_COMPILE)gcc
-+ AR = $(CROSS_COMPILE)ar
-+ SHARED := -shared -Wl,--version-script=libretro/link.T -Wl,--no-undefined
-+ CFLAGS += -fsingle-precision-constant -fno-PIC -flto
-+ CFLAGS += -DLSB_FIRST -DRIGHTSHIFT_IS_SAR
-+ CFLAGS += -std=c99 -fomit-frame-pointer -ffast-math -mcpu=arm926ej-s -mtune=arm926ej-s
-+ LDFLAGS += -flto
-+ OFLAGS += -Ofast -DNDEBUG=1
-+ ARM_ASM = 1
-+ ASM_CPU = 0
-+ ASM_SPC700 = 0
-+ ifeq (,$(DEBUG))
-+ LDFLAGS += -s
-+ endif
-+
- # Windows MSVC 2010 x64
- else ifeq ($(platform), windows_msvc2010_x64)
- CC = cl.exe
-@@ -381,12 +398,21 @@ LIBRETRO_DIR := ./libretro
-
- ifeq ($(DEBUG), 1)
- DEFINES += -O0 -g
-+else ifneq (,$(OFLAGS))
-+DEFINES += $(OFLAGS)
- else ifneq (,$(findstring msvc,$(platform)))
- DEFINES += -O2 -DNDEBUG=1
- else
- DEFINES += -O3 -DNDEBUG=1
- endif
-
-+ifeq ($(PROFILE), GENERATE)
-+ CFLAGS += -fprofile-generate=./profile/snes9x2002
-+ LDFLAGS += -lgcov
-+else ifeq ($(PROFILE), APPLY)
-+ CFLAGS += -fprofile-use -fprofile-dir=../profile/snes9x2002 -fbranch-probabilities
-+endif
-+
- ifneq (,$(findstring msvc,$(platform)))
- ifeq ($(DEBUG),1)
- DEFINES += -MTd