Wed Feb 22 11:15:21 2023 UTC ()
mame: update to 0.252.

After almost two months, we窶决e ready to release MAME 0.252, the
first MAME release of 2023! As promised, there are some big updates,
and some of them may require you to make a few adjustments to your
MAME setups. In particular, the modules MAME uses to handle input
and output (e.g. video, sound and controllers) have been cleaned
up, fixing lots of bugs and resource leaks.

First of all, the BGFX video module has had a serious overhaul.
Numerous issues affecting artwork rendering have been fixed, and
toggling full-screen mode no longer crashes. MAME now saves many
BGFX video settings to your CFG files for each emulated system.

Game controller handling has also been overhauled. The downside is
that you may need to reconfigure inputs for MAME. The upside is
that things should work better out-of-the-box, with better default
input assignments for more controllers:

    For Windows users, more XInput controllers are fully supported,
    including guitars, the DJ Hero turntable, and the Rock Band
    keyboard.

    For people using SDL builds, like our lovely macOS and Linux
    users, there窶冱 a brand new joystick input module using the SDL
    game controller API. This gives consistent assignments for
    popular gamepads, and allows you to supply your own button and
    axis assignment schemes if the defaults don窶冲 suit you. If want
    the old behaviour, it窶冱 still available: just set the
    joystickprovider setting to sdljoy in your mame.ini file.

    For everyone, it should be easier to navigate MAME窶冱 UI using
    a game controller, and MAME should choose better default game
    input assignments for more gamepads.

Of course, we haven窶冲 stopped working on emulation. Newly supported
systems include the NABU PC (a Canadian 8-bit home computer and
cable network terminal), the I-Star Chess King (a Taiwanese hand-held
chess computer of dubious quality), Computer Othello (one of
Nintendo窶冱 earliest video games), YoYo Spell (a prototype of the
arcade game Little Robin), the very rare English language version
of SegaSonic Cosmo Fighter (dumped from the unit previously operated
at Sega World Sydney), and Saturn: Space Fighter 3D (a Space Invaders
variant from Data East).

The MSX updates haven窶冲 stopped: this release includes support for
MSX-DOS2 and RAM expansion cartridges. The Hyper Neo Geo 64 has
had some welcome fixes for both 2D and 3D graphics, and there should
be more coming in the next release. At the other end of the spectrum,
Apple II video has seen a number of improvements, and somewhere in
between, S3 ViRGE reached a point where 256-colour mode works in
Windows 98.


(wiz)
diff -r1.164 -r1.165 pkgsrc/emulators/mame/Makefile
diff -r1.73 -r1.74 pkgsrc/emulators/mame/PLIST
diff -r1.127 -r1.128 pkgsrc/emulators/mame/distinfo
diff -r0 -r1.4 pkgsrc/emulators/mame/patches/patch-3rdparty_bx_src_thread.cpp

cvs diff -r1.164 -r1.165 pkgsrc/emulators/mame/Makefile (expand / switch to context diff)
--- pkgsrc/emulators/mame/Makefile 2023/02/14 16:05:58 1.164
+++ pkgsrc/emulators/mame/Makefile 2023/02/22 11:15:21 1.165
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.164 2023/02/14 16:05:58 wiz Exp $
+# $NetBSD: Makefile,v 1.165 2023/02/22 11:15:21 wiz Exp $
 
-DISTNAME=	mame-0.251
-PKGREVISION=	3
+DISTNAME=	mame-0.252
 CATEGORIES=	emulators
 MASTER_SITES=	${MASTER_SITE_GITHUB:=mamedev/}
 GITHUB_TAG=	${DISTNAME:S/-//S/.//}

cvs diff -r1.73 -r1.74 pkgsrc/emulators/mame/PLIST (expand / switch to context diff)
--- pkgsrc/emulators/mame/PLIST 2022/12/31 11:12:58 1.73
+++ pkgsrc/emulators/mame/PLIST 2023/02/22 11:15:21 1.74
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.73 2022/12/31 11:12:58 wiz Exp $
+@comment $NetBSD: PLIST,v 1.74 2023/02/22 11:15:21 wiz Exp $
 bin/castool
 bin/chdman
 bin/floptool
@@ -194,6 +194,7 @@
 share/mame/hash/cgenie_cass.xml
 share/mame/hash/cgenie_flop_rom.xml
 share/mame/hash/channelf.xml
+share/mame/hash/chessking_cart.xml
 share/mame/hash/chessmstdm.xml
 share/mame/hash/chip8_quik.xml
 share/mame/hash/clickstart_cart.xml

cvs diff -r1.127 -r1.128 pkgsrc/emulators/mame/distinfo (expand / switch to context diff)
--- pkgsrc/emulators/mame/distinfo 2022/12/31 11:12:58 1.127
+++ pkgsrc/emulators/mame/distinfo 2023/02/22 11:15:21 1.128
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.127 2022/12/31 11:12:58 wiz Exp $
+$NetBSD: distinfo,v 1.128 2023/02/22 11:15:21 wiz Exp $
 
-BLAKE2s (mame-0.251.tar.gz) = 7135b30ff36448ffca0197cbbf85ae1285284c4135238ff23372f0e1fe797453
-SHA512 (mame-0.251.tar.gz) = 5d613f5057cbd30e20bd47912e31db25d284b75e768228d637a740c2d5303297a0d53caff79f38b1dd3f691e1c1978f9e3c3b20158c61f71b94d879fc9c8ddf5
-Size (mame-0.251.tar.gz) = 186162996 bytes
+BLAKE2s (mame-0.252.tar.gz) = 522719e67c6ef14c09473ec63f099f4ba65198026a359c501af192449838be29
+SHA512 (mame-0.252.tar.gz) = 7f40141b851a9d6ede93d38e9ef0c9208fc635fe919f33cd879aaba4d0597f5c689cdf4cf48b2db328b9f17425f4bbde11a2cd175150a412cae583ef06bb2cd9
+Size (mame-0.252.tar.gz) = 206258807 bytes
+SHA1 (patch-3rdparty_bx_src_thread.cpp) = c415ceecd244c2a4f3907c0f19dac89807a1ffc7
 SHA1 (patch-3rdparty_genie_build_gmake.darwin_genie.make) = bb2e8c06d4b5f5869fb48e06390d5ca94a190056
 SHA1 (patch-makefile) = 343fac4d165438a26e2e8077216db1c6c46a5d1e

File Added: pkgsrc/emulators/mame/patches/patch-3rdparty_bx_src_thread.cpp
$NetBSD: patch-3rdparty_bx_src_thread.cpp,v 1.4 2023/02/22 11:15:21 wiz Exp $

NetBSD does not provide pthread_np.h.

--- 3rdparty/bx/src/thread.cpp.orig	2023-02-21 17:59:53.000000000 +0000
+++ 3rdparty/bx/src/thread.cpp
@@ -25,7 +25,9 @@
 	|| BX_PLATFORM_NX
 #	include <pthread.h>
 #	if BX_PLATFORM_BSD
+#ifndef __NetBSD__
 #		include <pthread_np.h>
+#endif
 #	endif // BX_PLATFORM_BSD
 #	if BX_PLATFORM_LINUX && (BX_CRT_GLIBC < 21200)
 #		include <sys/prctl.h>