From af5f38f00f49ab0c60425270502a09a9fee5fd23 Mon Sep 17 00:00:00 2001 From: neonloop Date: Sun, 28 Nov 2021 21:08:17 +0000 Subject: Adds fMSX core and builds trimui picoarch.zip --- patches/bluemsx/1000-trimui-build.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'patches/bluemsx') diff --git a/patches/bluemsx/1000-trimui-build.patch b/patches/bluemsx/1000-trimui-build.patch index d4026df..b140866 100644 --- a/patches/bluemsx/1000-trimui-build.patch +++ b/patches/bluemsx/1000-trimui-build.patch @@ -1,5 +1,5 @@ diff --git a/Makefile.libretro b/Makefile.libretro -index 0e8b073..040e734 100644 +index 0e8b073..aec4ea2 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -428,6 +428,20 @@ else ifneq (,$(findstring armv,$(platform))) @@ -38,10 +38,10 @@ index 0e8b073..040e734 100644 endif +ifeq ($(PROFILE), GENERATE) -+ CFLAGS += -fprofile-generate=./profile/fceumm ++ CFLAGS += -fprofile-generate=./profile/$(TARGET_NAME) + LDFLAGS += -lgcov +else ifeq ($(PROFILE), APPLY) -+ CFLAGS += -fprofile-use -fprofile-dir=../profile/fceumm -fbranch-probabilities ++ CFLAGS += -fprofile-use -fprofile-dir=../profile/$(TARGET_NAME) -fbranch-probabilities +endif + include Makefile.common -- cgit v1.2.3