aboutsummaryrefslogtreecommitdiff
path: root/patches/snes9x2005
diff options
context:
space:
mode:
authorneonloop2021-08-15 16:45:52 +0000
committerneonloop2021-08-15 16:45:52 +0000
commit549c48b2b327762e87e327a1ba0221810dcac5ab (patch)
tree31f6c4d2ef03b31c123501ef09fa6d920df714ed /patches/snes9x2005
parent43929bba35f0929a90a4128c4bfd50c226e1e842 (diff)
downloadpicoarch-549c48b2b327762e87e327a1ba0221810dcac5ab.tar.gz
picoarch-549c48b2b327762e87e327a1ba0221810dcac5ab.tar.bz2
picoarch-549c48b2b327762e87e327a1ba0221810dcac5ab.zip
Fixes profile generation for mame2000 / snes9x2005
Diffstat (limited to 'patches/snes9x2005')
-rw-r--r--patches/snes9x2005/1000-trimui-support.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/snes9x2005/1000-trimui-support.patch b/patches/snes9x2005/1000-trimui-support.patch
index 9424312..96dcb78 100644
--- a/patches/snes9x2005/1000-trimui-support.patch
+++ b/patches/snes9x2005/1000-trimui-support.patch
@@ -1,5 +1,5 @@
diff --git a/Makefile b/Makefile
-index b293853..5704da3 100644
+index b293853..bc220bd 100644
--- a/Makefile
+++ b/Makefile
@@ -282,6 +282,20 @@ else ifeq ($(platform), gcw0)
@@ -36,7 +36,7 @@ index b293853..5704da3 100644
+
+ifeq ($(PROFILE), GENERATE)
+ CFLAGS += -fprofile-generate=./profile/snes9x2005
-+ LDFLAGS += -lgcov
++ LIBS += -lgcov
+else ifeq ($(PROFILE), APPLY)
+ CFLAGS += -fprofile-use -fprofile-dir=../profile/snes9x2005 -fbranch-probabilities
+endif