Sun Aug 15 15:10:50 2010 UTC ()
Update to 0.8.D.2 (0.8.13.2 in pkgsrc terms):

0.8.D.2:
	NES: Fixed a crash on certain x86_64 platforms(Mac OS X),
	due to the sound filtering code dereferencing 32-bit
	registers instead of 64-bit registers as it should have.

0.8.D.1:
	Fixed a compilation error on gcc 4.5(thanks to hanno for
	pointing it out).

0.8.D:
	SMS:  Some state that wasn't being saved in save states
	now is, which should fix netplay desynch problems with
	SMS/GG games.

	Fixed a couple of remotely-exploitable(if connected to a
	malicious server) stack manipulation bugs in the network
	play code.

	Fixed an incorrect object creation bug in pce/adpcm.cpp.

	NES:  Added a missing CPU emulator variable to save states.

	PCE:  Added a missing CPU emulator variable to save states.

0.8.D-rc1:
	Lynx:  Fixed a bug in the cart loader code that would cause
	a crash if the ROM bank size was larger than the actual
	data available in the file(as is the case with some homebrew
	programs).  Thanks to "Wookie" for the patch.

	Build files were regenerated using autoconf 2.64 and aclocal
	1.11(previously, they were generated with autoconf 2.61
	and aclocal 1.10.1).

	Fixed a crashing problem when entering an invalid menu
	choice("0") in the cheat interface.  Thanks to tsenart for
	reporting the bug.

	GB:  The GameBoy module now respects the "filesys.disablesavegz"
	setting in respect to saved battery-backed RAM.

	Added support for "lurkers" on the network play server.
	Previous versions of Mednafen don't lack support for this
	per se, but there would be cosmetic issues with status
	messages printed to the internal console.

	SexyAL:  Fixed a bug affecting the return value from
	RawCanWrite() in the ALSA driver.  The returned value was
	typically too small by a factor of 4.  The effects of this
	bug included potential long periods of garbled sound during
	netplay.

	Fixed the return value from RawCanWrite() in the JACK
	driver.  It was being clamped to a value that was too small
	by a factor of 4; however, the clamp value was already
	excessively large in a way that this bug would should have
	only been triggered if the "soundbufsize" setting was
	excessively large.  The effects of this bug would be similar
	to the ALSA RawCanWrite() bug.

	The ALSA and OSS drivers will now try to set audio output
	to 2 channels if the source data only has 1 channel, and
	16-bit signed if the source data is 8-bit(automatic conversion
	is done).  This is done to allow for lower period/fragment
	sizes, as, in ALSA's internals at least, the minimum period
	sizes are expressed in bytes, not sound frames.

	The ALSA and OSS drivers will now try to set lower
	period/fragment sizes than previous versions of Mednafen
	did.  With default settings, for ALSA, the new period/fragment
	size is 50% of what it was before, and for OSS, 25%.  Also,
	there's a new setting to override the SexyAL's driver's
	preferred period/fragment sizes, named "sound.period_time"(default
	value of 0: no override).  The period/fragment size is
	expressed in microseconds.  If the new, lower fragment
	sizes cause problems, the setting can be changed to "2666"
	to approximate the fragment size selection in previous
	versions of Mednafen when using ALSA output, and "5333"
	when using OSS output.

	Added a workaround to the OSS driver for a bug in ALSA(and
	hence, ALSA's in-kernel OSS emulation) that could cause
	the emulator to run far too fast for a short period of time
	if a buffer underflow occurred.

	The ALSA's driver's RawCanWrite() method now(finally) uses
	snd_pcm_avail_update() instead of snd_pcm_delay().  This
	should improve performance and frameskipping behavior when
	the ALSA output is not routed directly to a physical device,
	such as the case with PulseAudio(though PulseAudio is still
	not recommended :b).  CVS:
----------------------------------------------------------------------


(wiz)
diff -r1.13 -r1.14 pkgsrc/emulators/mednafen/Makefile
diff -r1.8 -r1.9 pkgsrc/emulators/mednafen/distinfo

cvs diff -r1.13 -r1.14 pkgsrc/emulators/mednafen/Makefile (expand / switch to unified diff)

--- pkgsrc/emulators/mednafen/Makefile 2009/12/03 17:07:31 1.13
+++ pkgsrc/emulators/mednafen/Makefile 2010/08/15 15:10:50 1.14
@@ -1,19 +1,18 @@ @@ -1,19 +1,18 @@
1# $NetBSD: Makefile,v 1.13 2009/12/03 17:07:31 joerg Exp $ 1# $NetBSD: Makefile,v 1.14 2010/08/15 15:10:50 wiz Exp $
2# 2#
3 3
4DISTNAME= mednafen-0.8.C 4DISTNAME= mednafen-0.8.D.2
5PKGNAME= mednafen-0.8.12 5PKGNAME= mednafen-0.8.13.2
6PKGREVISION= 1 
7CATEGORIES= emulators 6CATEGORIES= emulators
8MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mednafen/} 7MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mednafen/}
9EXTRACT_SUFX= .tar.bz2 8EXTRACT_SUFX= .tar.bz2
10 9
11MAINTAINER= wiz@NetBSD.org 10MAINTAINER= wiz@NetBSD.org
12HOMEPAGE= http://mednafen.sourceforge.net/ 11HOMEPAGE= http://mednafen.sourceforge.net/
13COMMENT= Portable multi-system emulator 12COMMENT= Portable multi-system emulator
14LICENSE= gnu-gpl-v2 13LICENSE= gnu-gpl-v2
15 14
16WRKSRC= ${WRKDIR}/mednafen 15WRKSRC= ${WRKDIR}/mednafen
17GNU_CONFIGURE= yes 16GNU_CONFIGURE= yes
18USE_TOOLS+= intltool pkg-config 17USE_TOOLS+= intltool pkg-config
19USE_LANGUAGES= c c++ 18USE_LANGUAGES= c c++

cvs diff -r1.8 -r1.9 pkgsrc/emulators/mednafen/distinfo (expand / switch to unified diff)

--- pkgsrc/emulators/mednafen/distinfo 2009/10/31 01:56:36 1.8
+++ pkgsrc/emulators/mednafen/distinfo 2010/08/15 15:10:50 1.9
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.8 2009/10/31 01:56:36 wiz Exp $ 1$NetBSD: distinfo,v 1.9 2010/08/15 15:10:50 wiz Exp $
2 2
3SHA1 (mednafen-0.8.C.tar.bz2) = 1ac99a1845e4d339c07072a78de287102db24c72 3SHA1 (mednafen-0.8.D.2.tar.bz2) = e08cd432220d98e120730e96032616c7e56ff545
4RMD160 (mednafen-0.8.C.tar.bz2) = 0d37d11937f05b9633483139a817d72496a1ba43 4RMD160 (mednafen-0.8.D.2.tar.bz2) = c266446196a3f63914227bbef996466a7b2f54f7
5Size (mednafen-0.8.C.tar.bz2) = 2479077 bytes 5Size (mednafen-0.8.D.2.tar.bz2) = 2442982 bytes
6SHA1 (patch-aa) = 1708aa37f9b871af36ed2731d1386502eecb8c51 6SHA1 (patch-aa) = 1708aa37f9b871af36ed2731d1386502eecb8c51