aboutsummaryrefslogtreecommitdiff
path: root/patches/mame2000
diff options
context:
space:
mode:
authorneonloop2022-02-10 15:46:51 +0000
committerneonloop2022-02-10 15:46:51 +0000
commite506386fc683b18c2e25a27e8c3f7a220a92e5e1 (patch)
treef7da313b7a7cd43de4baf329c76490546cf8641c /patches/mame2000
parentaf5f38f00f49ab0c60425270502a09a9fee5fd23 (diff)
downloadpicoarch-e506386fc683b18c2e25a27e8c3f7a220a92e5e1.tar.gz
picoarch-e506386fc683b18c2e25a27e8c3f7a220a92e5e1.tar.bz2
picoarch-e506386fc683b18c2e25a27e8c3f7a220a92e5e1.zip
Updates cores and moves to snes9x2005 fork
Diffstat (limited to 'patches/mame2000')
-rw-r--r--patches/mame2000/1000-trimui-build.patch20
1 files changed, 3 insertions, 17 deletions
diff --git a/patches/mame2000/1000-trimui-build.patch b/patches/mame2000/1000-trimui-build.patch
index b02c1cc..6368afc 100644
--- a/patches/mame2000/1000-trimui-build.patch
+++ b/patches/mame2000/1000-trimui-build.patch
@@ -1,8 +1,8 @@
diff --git a/Makefile b/Makefile
-index 4b0667a..34df34e 100644
+index 8112d85..8f3555e 100644
--- a/Makefile
+++ b/Makefile
-@@ -335,6 +335,26 @@ else ifeq ($(platform), gcw0)
+@@ -321,6 +321,26 @@ else ifeq ($(platform), gcw0)
DISABLE_ERROR_LOGGING := 1
CFLAGS += -march=mips32 -mtune=mips32r2 -mhard-float
@@ -29,7 +29,7 @@ index 4b0667a..34df34e 100644
# Windows MSVC 2010 x64
else ifeq ($(platform), windows_msvc2010_x64)
CC = cl.exe
-@@ -522,6 +542,8 @@ endif
+@@ -508,6 +528,8 @@ endif
ifeq ($(DEBUG), 1)
CFLAGS += -O0 -g
@@ -38,17 +38,3 @@ index 4b0667a..34df34e 100644
else
CFLAGS += -O2 -DNDEBUG
endif
-@@ -531,6 +553,13 @@ RM = rm -f
- LIBS = -lm
- OBJ = obj
-
-+ifeq ($(PROFILE), GENERATE)
-+ CFLAGS += -fprofile-generate=./profile/mame2000
-+ LIBS += -lgcov
-+else ifeq ($(PROFILE), APPLY)
-+ CFLAGS += -fprofile-use -fprofile-dir=../profile/mame2000 -fbranch-probabilities
-+endif
-+
- ifeq ($(HAVE_RZLIB),)
- ZLIB_INCLUDE := -Isrc/zlib
- endif