Thu Dec 30 11:18:34 2021 UTC ()
mame: update to 0.239.

Did you think we窶囘 let 2021 finish without a parting MAME release?
MAME 0.239 is here, just in time for the new year. This release
includes a fix for many subtle and not-so-subtle sound and music
timing issues in games using Yamaha FM synthesis chips. The frame
rate for Gaelco games has been adjusted to satisfy some wily
protection checks, fixing crashes when continuing in Thunder Hoop
and graphical issues in Squash. A big update for Philips CD-i
emulation just made it in for this release, greatly improving the
experience in a lot of games. Nintendo Famicom Disk System emulation
has also seen some improvements this month.

This release is packed with even more Soviet re-skins of the Game
& Watch Egg program, the latest Apple II dumps and cracks, another
batch of Commodore 64 cassettes, and more exotic NES and Famicom
cartridges. Milan Galcik, who窶冱 been busy with the Elektronika
hand-held games, has also completed a Slovak UI translation and
updated the neglected Czech translation. Both genuine and cloned
Apple II systems have had emulation updates this month, with a
number of unique VTech Laser and Franklin ACE features now supported,
and performance improvements for the Apple IIgs.


(wiz)
diff -r1.143 -r1.144 pkgsrc/emulators/mame/Makefile
diff -r1.60 -r1.61 pkgsrc/emulators/mame/PLIST
diff -r1.114 -r1.115 pkgsrc/emulators/mame/distinfo
diff -r0 -r1.1 pkgsrc/emulators/mame/patches/patch-src_devices_bus_a2bus_cards.cpp

cvs diff -r1.143 -r1.144 pkgsrc/emulators/mame/Makefile (expand / switch to context diff)
--- pkgsrc/emulators/mame/Makefile 2021/12/08 16:04:17 1.143
+++ pkgsrc/emulators/mame/Makefile 2021/12/30 11:18:34 1.144
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.143 2021/12/08 16:04:17 adam Exp $
+# $NetBSD: Makefile,v 1.144 2021/12/30 11:18:34 wiz Exp $
 
-DISTNAME=	mame-0.238
-PKGREVISION=	1
+DISTNAME=	mame-0.239
 CATEGORIES=	emulators
 MASTER_SITES=	${MASTER_SITE_GITHUB:=mamedev/}
 GITHUB_TAG=	${DISTNAME:S/-//S/.//}
@@ -37,6 +36,8 @@
 .endif
 
 MAKE_FLAGS+=		PRECOMPILE=0
+# TODO: set differently when debugging?
+MAKE_FLAGS+=		OPTIMIZE=2
 
 .if ${MACHINE_ARCH} != "i386" && ${MACHINE_ARCH} != "x86_64"
 # \todo Arch detection for aarch64 fails, investigate why

cvs diff -r1.60 -r1.61 pkgsrc/emulators/mame/PLIST (expand / switch to context diff)
--- pkgsrc/emulators/mame/PLIST 2021/11/24 14:07:49 1.60
+++ pkgsrc/emulators/mame/PLIST 2021/12/30 11:18:34 1.61
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.60 2021/11/24 14:07:49 wiz Exp $
+@comment $NetBSD: PLIST,v 1.61 2021/12/30 11:18:34 wiz Exp $
 bin/castool
 bin/chdman
 bin/floptool
@@ -721,6 +721,7 @@
 share/mame/hash/xegs.xml
 share/mame/hash/xerox820.xml
 share/mame/hash/xerox820ii.xml
+share/mame/hash/z80clock.xml
 share/mame/hash/z80ne_cass.xml
 share/mame/hash/z80ne_flop.xml
 share/mame/hash/z88_cart.xml

cvs diff -r1.114 -r1.115 pkgsrc/emulators/mame/distinfo (expand / switch to context diff)
--- pkgsrc/emulators/mame/distinfo 2021/11/24 14:07:49 1.114
+++ pkgsrc/emulators/mame/distinfo 2021/12/30 11:18:34 1.115
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.114 2021/11/24 14:07:49 wiz Exp $
+$NetBSD: distinfo,v 1.115 2021/12/30 11:18:34 wiz Exp $
 
-BLAKE2s (mame-0.238.tar.gz) = c9634a8283769e01382bfb485e09016e707f7045139d435267c18d66b2eb5811
-SHA512 (mame-0.238.tar.gz) = 55d64274c78885b850764ed1a21585f5f85fd62995f287dafbbf831a645e2abcae9107df668f91a53fb74fd115045f977d10d4268eb31c2ec7fc6163998136a0
-Size (mame-0.238.tar.gz) = 186182656 bytes
+BLAKE2s (mame-0.239.tar.gz) = 789335f8564bf92f5aac13d3ed94b3b19e42722c240ce167e138fdc3b7ade821
+SHA512 (mame-0.239.tar.gz) = d8e0ba1847a38b938fed3c05a726c98c5a9789d3cf66e4bdb4017493e3cc9188aeae3831df5c4731c3dfcb5cdc9056bb4a445d4cbaa2e41cd08cebf16d97c956
+Size (mame-0.239.tar.gz) = 183687080 bytes
 SHA1 (patch-3rdparty_genie_build_gmake.darwin_genie.make) = bb2e8c06d4b5f5869fb48e06390d5ca94a190056
 SHA1 (patch-makefile) = 343fac4d165438a26e2e8077216db1c6c46a5d1e
+SHA1 (patch-src_devices_bus_a2bus_cards.cpp) = 0095cffa6ed92dc1badf9e8f5d178bc0f015094e

File Added: pkgsrc/emulators/mame/patches/Attic/patch-src_devices_bus_a2bus_cards.cpp
$NetBSD: patch-src_devices_bus_a2bus_cards.cpp,v 1.1 2021/12/30 11:18:34 wiz Exp $

Add missing PCH.
https://github.com/mamedev/mame/commit/0288a54ca21cb4e4d63e98507060af05abe59768

--- src/devices/bus/a2bus/cards.cpp.orig	2021-12-28 15:17:03.000000000 +0000
+++ src/devices/bus/a2bus/cards.cpp
@@ -9,6 +9,7 @@
 
 ***************************************************************************/
 
+#include "emu.h"
 #include "bus/a2bus/cards.h"
 
 #include "bus/a2bus/4play.h"