summaryrefslogtreecommitdiff
path: root/emulators/mame/patches
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2019-11-08 09:44:17 +0000
committerwiz <wiz@pkgsrc.org>2019-11-08 09:44:17 +0000
commitded1819f6e103c880b37232fc1ce5a8b14cd483f (patch)
tree0e29d47faa6ce21295eed72fdda7b52f7edad9d2 /emulators/mame/patches
parent6e4d612ed21a1427d50e1fc4d6e5757fc973bc8e (diff)
downloadpkgsrc-ded1819f6e103c880b37232fc1ce5a8b14cd483f.tar.gz
mame: update to 0.215.
A wild MAME 0.215 appears! Yes, another month has gone by, and it’s time to check out what’s new. On the arcade side, Taito’s incredibly rare 4-screen top-down racer Super Dead Heat is now playable! Joining its ranks are other rarities, such as the European release of Capcom‘s 19XX: The War Against Destiny, and a bootleg of Jaleco’s P-47 – The Freedom Fighter using a different sound system. We’ve got three newly supported Game & Watch titles: Lion, Manhole, and Spitball Sparky, as well as the crystal screen version of Super Mario Bros. Two new JAKKS Pacific TV games, Capcom 3-in-1 and Disney Princesses, have also been added. Other improvements include several more protection microcontrollers dumped and emulated, the NCR Decision Mate V working (now including hard disk controllers), graphics fixes for the 68k-based SNK and Alpha Denshi games, and some graphical updates to the Super A'Can driver. We’ve updated bgfx, adding preliminary Vulkan support. There are some issues we’re aware of, so if you run into issues, check our GitHub issues page to see if it’s already known, and report it if it isn’t. We’ve also improved support for building and running on Linux systems without X11. 0.214: With the end of September almost here, it’s time to see what goodies MAME 0.214 delivers. This month, we’ve got support for five more Nintendo Game & Watch titles (Fire, Flagman, Helmet, Judge and Vermin), four Chinese computers from the 1980s, and three Motorola CPU evaluation kits. Cassette support has been added or fixed for a number of systems, the Dragon Speech Synthesis module has been emulated, and the Dragon Sound Extension module has been fixed. Acorn Archimedes video, sound and joystick support has been greatly improved. On the arcade side, remaining issues in Capcom CPS-3 video emulation have been resolved and CD images have been upgraded to CHD version 5, Sega versus cabinet billboard support has been added to relevant games, and long-standing issues with music tempo in Data East games have been worked around. 0.213: It's really about time we released MAME 0.213, with more of everything we know you all love. First of all, we’re proud to present support for the first Hegener + Glaser product: the “brikett” chess computers, Mephisto, Mephisto II and Mephisto III. As you can probably guess, there’s an addition from Nintendo’s Game & Watch line. This month it’s Mario’s Bombs Away. On a related note, we’ve also added Elektronika’s Kosmicheskiy Most, exported as Space Bridge, which is an unlicensed total conversion of the Game & Watch title Fire. If you haven’t played any of the handheld LCD games in MAME, you’re missing something special – they look superb with external scanned and traced artwork. On the arcade side, we’ve added The Destroyer From Jail (a rare Philko game), and alternate regional versions of Block Out and Super Shanghai Dragon’s Eye. The CD for Simpsons Bowling has been re-dumped, resolving some long-standing issues. With its protection microcontroller dumped and emulated, Birdie Try is now fully playable. Protection microcontrollers for The Deep and Last Mission have also been dumped and emulated. Improvements to Seibu hardware emulation mean Banpresto’s SD Gundam Sangokushi Rainbow Tairiku Senki is now playable, and sprite priorities in Seibu Cup Soccer have been improved. In computer emulation, two interesting DOS compatible machines based on the Intel 80186 CPU are now working: the Mindset Personal Computer, and the Dulmont Magnum. The Apple II software lists have been updated to include almost all known clean cracks and original flux dumps, and the Apple II gameport ComputerEyes frame grabber is now emulated. We’ve received a series of submissions that greatly improve emulation of the SWTPC S/09 and SS-30 bus cards. On the SGI front, the 4D/20 now has fully-working IRIX 4.0.5 via serial console, and a whole host of improvements have gone into the Indy “Newport” graphics board emulation. Finally, MAME now supports HDI, 2MG and raw hard disk image files.
Diffstat (limited to 'emulators/mame/patches')
-rw-r--r--emulators/mame/patches/patch-3rdparty_bx_include_bx_platform.h12
-rw-r--r--emulators/mame/patches/patch-3rdparty_genie_build_gmake.darwin_genie.make36
-rw-r--r--emulators/mame/patches/patch-scripts_genie.lua23
3 files changed, 28 insertions, 43 deletions
diff --git a/emulators/mame/patches/patch-3rdparty_bx_include_bx_platform.h b/emulators/mame/patches/patch-3rdparty_bx_include_bx_platform.h
index 6fc2e73935c..c37920702d9 100644
--- a/emulators/mame/patches/patch-3rdparty_bx_include_bx_platform.h
+++ b/emulators/mame/patches/patch-3rdparty_bx_include_bx_platform.h
@@ -1,9 +1,9 @@
-$NetBSD: patch-3rdparty_bx_include_bx_platform.h,v 1.7 2019/10/17 14:01:03 wiz Exp $
+$NetBSD: patch-3rdparty_bx_include_bx_platform.h,v 1.8 2019/11/08 09:44:17 wiz Exp $
Improve NetBSD support.
https://github.com/bkaradzic/bx/pull/219
---- 3rdparty/bx/include/bx/platform.h.orig 2018-02-27 15:59:06.000000000 +0000
+--- 3rdparty/bx/include/bx/platform.h.orig 2019-10-29 17:16:37.000000000 +0000
+++ 3rdparty/bx/include/bx/platform.h
@@ -35,6 +35,7 @@
#define BX_CRT_MINGW 0
@@ -13,8 +13,8 @@ https://github.com/bkaradzic/bx/pull/219
#ifndef BX_CRT_MUSL
# define BX_CRT_MUSL 0
-@@ -236,6 +237,9 @@
- # elif defined(__apple_build_version__) || defined(__ORBIS__) || defined(__EMSCRIPTEN__) || defined(__llvm__)
+@@ -242,6 +243,9 @@
+ # elif defined(__apple_build_version__) || defined(__ORBIS__) || defined(__EMSCRIPTEN__) || defined(__llvm__) || defined(__HAIKU__)
# undef BX_CRT_LIBCXX
# define BX_CRT_LIBCXX 1
+# elif BX_PLATFORM_BSD
@@ -23,7 +23,7 @@ https://github.com/bkaradzic/bx/pull/219
# endif //
# if !BX_CRT_BIONIC \
-@@ -244,7 +248,8 @@
+@@ -250,7 +254,8 @@
&& !BX_CRT_MINGW \
&& !BX_CRT_MSVC \
&& !BX_CRT_MUSL \
@@ -33,7 +33,7 @@ https://github.com/bkaradzic/bx/pull/219
# undef BX_CRT_NONE
# define BX_CRT_NONE 1
# endif // BX_CRT_*
-@@ -379,6 +384,8 @@
+@@ -425,6 +430,8 @@
# define BX_CRT_NAME "Newlib"
#elif BX_CRT_MUSL
# define BX_CRT_NAME "musl libc"
diff --git a/emulators/mame/patches/patch-3rdparty_genie_build_gmake.darwin_genie.make b/emulators/mame/patches/patch-3rdparty_genie_build_gmake.darwin_genie.make
index 4ac1a35f8fc..5880cc04db1 100644
--- a/emulators/mame/patches/patch-3rdparty_genie_build_gmake.darwin_genie.make
+++ b/emulators/mame/patches/patch-3rdparty_genie_build_gmake.darwin_genie.make
@@ -1,26 +1,26 @@
-$NetBSD: patch-3rdparty_genie_build_gmake.darwin_genie.make,v 1.2 2018/11/12 07:20:58 adam Exp $
+$NetBSD: patch-3rdparty_genie_build_gmake.darwin_genie.make,v 1.3 2019/11/08 09:44:17 wiz Exp $
Do not set optimization level, nor minimal macOS version.
---- 3rdparty/genie/build/gmake.darwin/genie.make.orig 2018-10-31 12:23:33.000000000 +0000
+--- 3rdparty/genie/build/gmake.darwin/genie.make.orig 2019-10-29 17:16:37.000000000 +0000
+++ 3rdparty/genie/build/gmake.darwin/genie.make
-@@ -50,13 +50,13 @@ ifeq ($(config),release)
+@@ -49,13 +49,13 @@ ifeq ($(config),release)
+ DEFINES += -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_MACOSX
INCLUDES += -I"../../src/host/lua-5.3.0/src"
- INCLUDES +=
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP -MP $(DEFINES) $(INCLUDES)
-- ALL_ASMFLAGS += $(ASMFLAGS) $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -Os -mmacosx-version-min=10.6
-- ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -Os -mmacosx-version-min=10.6
-- ALL_CXXFLAGS += $(CXXFLAGS) $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -Os -mmacosx-version-min=10.6
-- ALL_OBJCFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -Os -mmacosx-version-min=10.6
-- ALL_OBJCPPFLAGS += $(CXXFLAGS) $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -Os -mmacosx-version-min=10.6
-+ ALL_ASMFLAGS += $(ASMFLAGS) $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra
-+ ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra
-+ ALL_CXXFLAGS += $(CXXFLAGS) $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra
-+ ALL_OBJCFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra
-+ ALL_OBJCPPFLAGS += $(CXXFLAGS) $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra
+- ALL_ASMFLAGS += $(ASMFLAGS) $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -Os $(MPARAM) -mmacosx-version-min=10.6
+- ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -Os $(MPARAM) -mmacosx-version-min=10.6
+- ALL_CXXFLAGS += $(CXXFLAGS) $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -Os $(MPARAM) -mmacosx-version-min=10.6
+- ALL_OBJCFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -Os $(MPARAM) -mmacosx-version-min=10.6
+- ALL_OBJCPPFLAGS += $(CXXFLAGS) $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -Os $(MPARAM) -mmacosx-version-min=10.6
++ ALL_ASMFLAGS += $(ASMFLAGS) $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -Os $(MPARAM)
++ ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -Os $(MPARAM)
++ ALL_CXXFLAGS += $(CXXFLAGS) $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -Os $(MPARAM)
++ ALL_OBJCFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -Os $(MPARAM)
++ ALL_OBJCPPFLAGS += $(CXXFLAGS) $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -Os $(MPARAM)
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
-- ALL_LDFLAGS += $(LDFLAGS) -L. -mmacosx-version-min=10.6
-+ ALL_LDFLAGS += $(LDFLAGS) -L.
+- ALL_LDFLAGS += $(LDFLAGS) -L"." -mmacosx-version-min=10.6
++ ALL_LDFLAGS += $(LDFLAGS) -L"."
+ LIBDEPS +=
LDDEPS +=
- LIBS += $(LDDEPS) -framework CoreServices
- EXTERNAL_LIBS +=
+ LDRESP =
diff --git a/emulators/mame/patches/patch-scripts_genie.lua b/emulators/mame/patches/patch-scripts_genie.lua
index 620deb7ddf7..0965d072103 100644
--- a/emulators/mame/patches/patch-scripts_genie.lua
+++ b/emulators/mame/patches/patch-scripts_genie.lua
@@ -1,11 +1,11 @@
-$NetBSD: patch-scripts_genie.lua,v 1.6 2017/01/04 23:05:12 wiz Exp $
+$NetBSD: patch-scripts_genie.lua,v 1.7 2019/11/08 09:44:17 wiz Exp $
Precompilation is broken on NetBSD with gcc-5.3.
Use GNU version of the C++ standard to avoid trouble with alloca on NetBSD.
---- scripts/genie.lua.orig 2016-12-27 21:02:43.000000000 +0000
+--- scripts/genie.lua.orig 2019-10-29 17:16:37.000000000 +0000
+++ scripts/genie.lua
-@@ -70,11 +70,6 @@ function layoutbuildtask(_folder, _name)
+@@ -73,11 +73,6 @@ function layoutbuildtask(_folder, _name)
end
function precompiledheaders()
@@ -16,19 +16,4 @@ Use GNU version of the C++ standard to avoid trouble with alloca on NetBSD.
- end
end
- function addprojectflags()
-@@ -711,12 +706,12 @@ if string.find(_OPTIONS["gcc"], "clang")
- else
- buildoptions_cpp {
- "-x c++",
-- "-std=c++14",
-+ "-std=gnu++14",
- }
-
- buildoptions_objcpp {
- "-x objective-c++",
-- "-std=c++14",
-+ "-std=gnu++14",
- }
- end
- -- this speeds it up a bit by piping between the preprocessor/compiler/assembler
+ function precompiledheaders_novs()