Update to the latest mednafen, reminder from the medna...@sent.com. Release notes can be found at: https://mednafen.github.io/
Note that the default sound driver now tries to open /dev/audio, set "sound.driver sdl" in the config file to get the previous behavior. I'm unable to test this, as mednafen no longer runs on my machine, neither the previous version nor this update. In both cases, running mednafen with any game results in a black window and requires kill -9 to exit. I tested with gcc-only, and the result was the same. Is anyone able to get mednafen to work, either with the current version or with this update? I know the current version worked when I committed it, but I haven't really used it since. Thanks, Jeremy Index: Makefile =================================================================== RCS file: /cvs/ports/emulators/mednafen/Makefile,v retrieving revision 1.20 diff -u -p -r1.20 Makefile --- Makefile 31 Jul 2017 21:26:12 -0000 1.20 +++ Makefile 13 Aug 2017 00:54:44 -0000 @@ -3,20 +3,18 @@ BROKEN-hppa = ../../include/mednafen/state.h:21:7: error: 'exception_ptr' in namespace 'std' does not name a type COMMENT = emulates numerous game consoles -V = 0.9.39.2 -DISTNAME = mednafen-${V} -REVISION = 1 +DISTNAME = mednafen-0.9.46 CATEGORIES = emulators games -HOMEPAGE = http://mednafen.fobby.net/ +HOMEPAGE = https://mednafen.github.io MAINTAINER = Jeremy Evans <jer...@openbsd.org> # GPLv2 PERMIT_PACKAGE_CDROM = Yes -MASTER_SITES = http://mednafen.fobby.net/releases/files/ -EXTRACT_SUFX = .tar.bz2 +MASTER_SITES = ${HOMEPAGE}/releases/files/ +EXTRACT_SUFX = .tar.xz MODULES = devel/gettext Index: distinfo =================================================================== RCS file: /cvs/ports/emulators/mednafen/distinfo,v retrieving revision 1.8 diff -u -p -r1.8 distinfo --- distinfo 24 Oct 2016 01:53:37 -0000 1.8 +++ distinfo 12 Aug 2017 03:04:03 -0000 @@ -1,2 +1,2 @@ -SHA256 (mednafen-0.9.39.2.tar.bz2) = tCRwst32jOB0f1uLpOHRwwR/qMRbjhaNpD8+JGHsNMw= -SIZE (mednafen-0.9.39.2.tar.bz2) = 4005259 +SHA256 (mednafen-0.9.46.tar.xz) = Z0+vQr2wrVZJrqZdomawvjQomVyqp74YP8bT7XcyRno= +SIZE (mednafen-0.9.46.tar.xz) = 3187988 Index: patches/patch-src_nes_ines-correct_inc =================================================================== RCS file: /cvs/ports/emulators/mednafen/patches/patch-src_nes_ines-correct_inc,v retrieving revision 1.2 diff -u -p -r1.2 patch-src_nes_ines-correct_inc --- patches/patch-src_nes_ines-correct_inc 25 May 2017 23:40:06 -0000 1.2 +++ patches/patch-src_nes_ines-correct_inc 12 Aug 2017 03:05:51 -0000 @@ -2,7 +2,7 @@ $OpenBSD: patch-src_nes_ines-correct_inc Index: src/nes/ines-correct.inc --- src/nes/ines-correct.inc.orig +++ src/nes/ines-correct.inc -@@ -15,7 +15,7 @@ +@@ -17,7 +17,7 @@ {0, 37, -1, 0xa4057e574307d204ULL }, /* Super Mario Bros + Tetris + Nintendo World Cup (Europe) */ Index: patches/patch-src_nes_ines_cpp =================================================================== RCS file: patches/patch-src_nes_ines_cpp diff -N patches/patch-src_nes_ines_cpp --- patches/patch-src_nes_ines_cpp 25 May 2017 23:40:06 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,14 +0,0 @@ -$OpenBSD: patch-src_nes_ines_cpp,v 1.1 2017/05/25 23:40:06 espie Exp $ - -Index: src/nes/ines.cpp ---- src/nes/ines.cpp.orig -+++ src/nes/ines.cpp -@@ -327,7 +327,7 @@ static void SetInput(void) - }; - int x=0; - -- while(moo[x].input1 > 0 || moo[x].input2 > 0 || moo[x].inputfc > 0) -+ while(moo[x].input1 != 0 || moo[x].input2 != 0 || moo[x].inputfc != 0) - { - if(moo[x].crc32==iNESGameCRC32) - {