aboutsummaryrefslogtreecommitdiff
path: root/patches/fceumm
diff options
context:
space:
mode:
authorneonloop2022-03-25 21:28:29 +0000
committerneonloop2022-03-25 21:28:29 +0000
commitcb4df55984b07f4ca80a6fcf5ddda85cb9f540af (patch)
treeaf00c81dc9f3f7c829d3b0464271c713b2ebd04f /patches/fceumm
parente506386fc683b18c2e25a27e8c3f7a220a92e5e1 (diff)
downloadpicoarch-cb4df55984b07f4ca80a6fcf5ddda85cb9f540af.tar.gz
picoarch-cb4df55984b07f4ca80a6fcf5ddda85cb9f540af.tar.bz2
picoarch-cb4df55984b07f4ca80a6fcf5ddda85cb9f540af.zip
Updates patches for upstream changes
Diffstat (limited to 'patches/fceumm')
-rw-r--r--patches/fceumm/1000-trimui-build.patch23
1 files changed, 10 insertions, 13 deletions
diff --git a/patches/fceumm/1000-trimui-build.patch b/patches/fceumm/1000-trimui-build.patch
index 4d52559..63dc9ad 100644
--- a/patches/fceumm/1000-trimui-build.patch
+++ b/patches/fceumm/1000-trimui-build.patch
@@ -1,9 +1,9 @@
diff --git a/Makefile.libretro b/Makefile.libretro
-index 2f2bb5a..493149f 100644
+index 036c608..4c1cc87 100644
--- a/Makefile.libretro
+++ b/Makefile.libretro
-@@ -445,6 +445,22 @@ else ifeq ($(platform), retrofw)
- PLATFORM_DEFINES += -ffast-math -march=mips32 -mtune=mips32 -mhard-float -fomit-frame-pointer
+@@ -461,6 +461,22 @@ else ifeq ($(platform), miyoo)
+ PLATFORM_DEFINES += -fomit-frame-pointer -ffast-math -mcpu=arm926ej-s
EXTERNAL_ZLIB = 1
+# TRIMUI
@@ -25,27 +25,24 @@ index 2f2bb5a..493149f 100644
# Windows MSVC 2017 all architectures
else ifneq (,$(findstring windows_msvc2017,$(platform)))
CC = cl.exe
-@@ -708,10 +724,23 @@ else
+@@ -715,8 +731,20 @@ else
CFLAGS += -MT
CXXFLAGS += -MT
endif
+ ifneq (,$(OPTIMIZE))
-+ CFLAGS += $(OPTIMIZE)
-+ CXXFLAGS += $(OPTIMIZE)
++ CFLAGS += $(OPTIMIZE)
++ CXXFLAGS += $(OPTIMIZE)
+ else
CFLAGS += -O2 -DNDEBUG
CXXFLAGS += -O2 -DNDEBUG
+ endif
- endif
-
++endif
++
+ifeq ($(PROFILE), GENERATE)
+ CFLAGS += -fprofile-generate=./profile/fceumm
+ LDFLAGS += -lgcov
+else ifeq ($(PROFILE), APPLY)
+ CFLAGS += -fprofile-use -fprofile-dir=../profile/fceumm -fbranch-probabilities
-+endif
-+
-+
+ endif
+
ifneq ($(SANITIZER),)
- CFLAGS += -fsanitize=$(SANITIZER)
- CXXFLAGS += -fsanitize=$(SANITIZER)