Update mame to 0.242.

This commit is contained in:
fcambus 2022-04-16 13:46:12 +00:00
parent c90bef4552
commit 98436d1340
5 changed files with 9 additions and 38 deletions

View File

@ -6,7 +6,7 @@ USE_WXNEEDED = Yes
COMMENT = Multiple Arcade Machine Emulator
V = 238
V = 242
GH_ACCOUNT = mamedev
GH_PROJECT = mame
GH_TAGNAME = mame0${V}

View File

@ -1,2 +1,2 @@
SHA256 (mame-0.238.tar.gz) = E6qICwl4Mqz2zaQ2KfklO8yKNAdI2wcQKJAzWP++f68=
SIZE (mame-0.238.tar.gz) = 186182656
SHA256 (mame-0.242.tar.gz) = NtNc8KHRHjuL2r7UQiLpkQvi+4lU6jV5wroCV27ThcE=
SIZE (mame-0.242.tar.gz) = 184405219

View File

@ -1,4 +1,3 @@
- Disable hardcoded -O3 optimizations
- Fix GCC_VERSION and CLANG_VERSION detection
Index: makefile
@ -13,19 +12,7 @@ Index: makefile
endif
ifeq ($(firstword $(filter Darwin,$(UNAME))),Darwin)
OS := macosx
@@ -626,11 +626,6 @@ PROFILER =
SYMBOLS = 1
endif
-# specify a default optimization level if none explicitly stated
-ifndef OPTIMIZE
-OPTIMIZE = 3
-endif
-
# set the symbols level
ifdef SYMBOLS
PARAMS += --SYMBOLS='$(SYMBOLS)'
@@ -995,8 +990,8 @@ endif
@@ -995,8 +995,8 @@ endif
ifeq ($(OS),windows)
ifeq (posix,$(SHELLTYPE))

View File

@ -1,30 +1,13 @@
- Set OPT_FLAGS even when OPTIMIZE is unset, to allow passing CXXFLAGS
- Disable hardcoded optimizations
Index: scripts/genie.lua
--- scripts/genie.lua.orig
+++ scripts/genie.lua
@@ -805,17 +805,19 @@ if _OPTIONS["NOWERROR"]==nil then
}
end
+-- add optional flags
+if _OPTIONS["OPT_FLAGS"] then
+ buildoptions {
+ _OPTIONS["OPT_FLAGS"]
+ }
+end
+
@@ -808,7 +808,6 @@ end
-- if we are optimizing, include optimization options
if _OPTIONS["OPTIMIZE"] then
buildoptions {
"-O".. _OPTIONS["OPTIMIZE"],
- "-O".. _OPTIONS["OPTIMIZE"],
"-fno-strict-aliasing"
}
- if _OPTIONS["OPT_FLAGS"] then
- buildoptions {
- _OPTIONS["OPT_FLAGS"]
- }
- end
if _OPTIONS["LTO"]=="1" then
buildoptions {
-- windows native mingw GCC 5.2 fails with -flto=x with x > 1. bug unfixed as of this commit
if _OPTIONS["OPT_FLAGS"] then

View File

@ -72,6 +72,7 @@ share/mame/artwork/chess/wp.svg
share/mame/artwork/chess/wq.svg
share/mame/artwork/chess/wr.svg
share/mame/artwork/dir.txt
share/mame/artwork/lut-default.png
share/mame/artwork/monochrome-chessboard.png
share/mame/artwork/monochrome-matrix.png
share/mame/artwork/scanlines.png