Update to the latest medafen release. The major change in this update
is the addition of Saturn support, which I tested and does appear to
work (at least with Shanghai Triple Threat).
Changelog:
Added experimental Sega Saturn emulation.
Low-accuracy "snes_faust" SNES emulation module is now compiled in and
available by default(but not used by default, except for SPC playback).
The version is now displayed in the upper right corner of the F1 help
screen.
Scrolling in the netplay and cheat consoles is now done in visible line
units, instead of internal line units as before, and when a console is
not scrolled all the way down, a green indicator arrow will now be drawn
in the lower right corner.
Revamped the layout of the debugger's memory editor.
MD: Replaced old 68K emulator with new 68K emulator developed for Saturn
emulation. Fixes major issues in "Double Clutch", "James Pond 3", and
"Sub-Terrania". However, timing is currently a bit off with the new 68K
emulation code, so there may be some regressions.
MD: Implemented kludge to fix a startup lockup in "Turrican".
NES: Implemented kludge to fix a minor Zelda 2 title screen glitch, a
status bar glitch in Burai Fighter, and scrolling in the second stage of
The Young Indiana Jones Chronicles.
NES: Enabled SSE2 support in the audio resampler(though not used on all
CPUs with SSE2 support, mostly just newer ones).
NES, PCE, PC-FX: Added ARM NEON support to the audio resamplers(when
compiled with -mfpu=neon or similar).
PCE, PC-FX: Added AVX support to the audio resampler.
PS1: Enabled emulation of a rarely-used CDC feature; fixes lockup bug in
"Fantastic Pinball Kyutenkai".
PS1: Reordered CPU class data layout for a small performance boost on
ARM CPUs.
SNES: Updated libco, for ARM support.
Only significant ports changes are the setting of USE_WXNEEDED, as
apparently mednafen uses W|X mappings, pointed out by brynet@. I also
had to remove the __inline code from the embedded quicklz to get this
new version to compile.
Tested briefly on amd64, compiles on i386. I'll try to do the hard work
of additional testing this weekend, but assuming no problems I'll commit
unless I hear objections.
Thanks,
Jeremy
Index: Makefile
===================================================================
RCS file: /cvs/ports/emulators/mednafen/Makefile,v
retrieving revision 1.14
diff -u -p -r1.14 Makefile
--- Makefile 17 Jan 2016 21:12:14 -0000 1.14
+++ Makefile 20 Oct 2016 04:42:07 -0000
@@ -3,7 +3,7 @@
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.38.7
+V = 0.9.39.2
DISTNAME = mednafen-${V}
CATEGORIES = emulators games
@@ -31,6 +31,8 @@ LIB_DEPENDS = audio/libsndfile \
WRKDIST = ${WRKDIR}/mednafen
+USE_WXNEEDED = Yes
+
CONFIGURE_STYLE = gnu
CONFIGURE_ENV = CFLAGS="-I${LOCALBASE}/include
-I${LOCALBASE}/include/SDL" \
LDFLAGS="-L${LOCALBASE}/lib -pthread"
@@ -42,6 +44,9 @@ CONFIGURE_ARGS = --disable-alsa \
# this intrinsic is not supported with our old gcc
CONFIGURE_ARGS += --disable-altivec
+
+pre-configure:
+ sed -i 's/^__inline//' ${WRKDIST}/src/quicklz/quicklz.c
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mednafen
Index: distinfo
===================================================================
RCS file: /cvs/ports/emulators/mednafen/distinfo,v
retrieving revision 1.7
diff -u -p -r1.7 distinfo
--- distinfo 17 Jan 2016 21:12:14 -0000 1.7
+++ distinfo 20 Oct 2016 04:14:48 -0000
@@ -1,2 +1,2 @@
-SHA256 (mednafen-0.9.38.7.tar.bz2) =
G7O+74g6Mlw10aHOFJWcMHpMMh8uop1N2yFsbdA63tg=
-SIZE (mednafen-0.9.38.7.tar.bz2) = 3882418
+SHA256 (mednafen-0.9.39.2.tar.bz2) =
tCRwst32jOB0f1uLpOHRwwR/qMRbjhaNpD8+JGHsNMw=
+SIZE (mednafen-0.9.39.2.tar.bz2) = 4005259
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/emulators/mednafen/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST
--- pkg/PLIST 28 Jun 2014 04:08:48 -0000 1.3
+++ pkg/PLIST 20 Oct 2016 04:56:00 -0000
@@ -1,11 +1,11 @@
@comment $OpenBSD: PLIST,v 1.3 2014/06/28 04:08:48 jeremy Exp $
@bin bin/mednafen
share/doc/mednafen/
-share/doc/mednafen/Makefile.am
-share/doc/mednafen/Makefile.in
share/doc/mednafen/README.jpeg4a
share/doc/mednafen/bwolf0.png
share/doc/mednafen/bwolf1.png
+share/doc/mednafen/cdplay.html
+share/doc/mednafen/cdplay.php
share/doc/mednafen/cheat.html
share/doc/mednafen/cheats.txt
share/doc/mednafen/debugger.html
@@ -49,6 +49,12 @@ share/doc/mednafen/sms.html
share/doc/mednafen/sms.php
share/doc/mednafen/snes.html
share/doc/mednafen/snes.php
+share/doc/mednafen/snes_faust.html
+share/doc/mednafen/snes_faust.php
+share/doc/mednafen/ss.html
+share/doc/mednafen/ss.php
+share/doc/mednafen/ssfplay.html
+share/doc/mednafen/ssfplay.php
share/doc/mednafen/vb.html
share/doc/mednafen/vb.php
share/doc/mednafen/wswan.html
@@ -56,5 +62,3 @@ share/doc/mednafen/wswan.php
share/locale/de/LC_MESSAGES/mednafen.mo
share/locale/es/LC_MESSAGES/mednafen.mo
share/locale/ru/LC_MESSAGES/mednafen.mo
-share/mednafen/
-share/mednafen/c68k_op0.inc