Thu Apr 25 13:06:59 2019 UTC ()
emulators/snes9x: Update to 1.60

Changes since 1.59.2:

- Fixed subscreen blending with master brightness < 100%.
- Fixed NMI timing when toggling enable bit. Fixes Chou Aniki--hack removed.
- Reverted an IPL map optimization that misses a weird edge case that caused
  The Great Battle III to lock up.
- Clamp MSU1 addition to max amplitude instead of wrapping. Proper MSU1 tracks
  will not be affected by this.
- Save mipmap_input parameter with customized GLSL and slang shaders.
- Actually use mipmap_input parameter.
- Optimized subscreen math with help from Dwedit.
- Revert to measured APU clock speed instead of nominal speed. Fixes An
  American Tail.
- Fixed broken BPS patch support. (ArtiiP)
- Fixed MSU1 track restarting on load state.

libretro:
- Added ability to use Satellaview data in same directory as ROM.
- Fixed deviation from proper libretro spec.
- Added option to use the software NTSC filter. (stellarporter)

GTK:
- Added icons to the entries to clear binding assignments.
- Fixed overlap in xBRZ multithreading.
- Changed glFenceSync option to an OML_sync option that works better.
- Fixed accumulation of partial pixel data on mouse motion when we update the
  mouse position more than once per frame.
- Allow one key to be bound to many controller buttons on the same controller.
- Force menu and button icons.
- Add the view menu to right-click when SNES mouse isn't used.
- Remove unused status bar option.
- Startup background can be changed in snes9x.conf.
- Improved PortAudio driver.

Unix:
- Fixed sound output that broke with APU refactor.


(nia)
diff -r1.4 -r1.5 pkgsrc/emulators/libretro-snes9x/distinfo
diff -r1.3 -r1.4 pkgsrc/emulators/snes9x/Makefile.common
diff -r1.23 -r1.24 pkgsrc/emulators/snes9x/distinfo
diff -r1.11 -r1.12 pkgsrc/emulators/snes9x-gtk/distinfo
diff -r1.2 -r1.3 pkgsrc/emulators/snes9x/patches/patch-unix_unix.cpp

cvs diff -r1.4 -r1.5 pkgsrc/emulators/libretro-snes9x/distinfo (expand / switch to unified diff)

--- pkgsrc/emulators/libretro-snes9x/distinfo 2019/03/05 12:12:32 1.4
+++ pkgsrc/emulators/libretro-snes9x/distinfo 2019/04/25 13:06:59 1.5
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.4 2019/03/05 12:12:32 nia Exp $ 1$NetBSD: distinfo,v 1.5 2019/04/25 13:06:59 nia Exp $
2 2
3SHA1 (snes9x-1.59.2.tar.gz) = d6205269b539b62e6ae49da4261b48290b773a47 3SHA1 (snes9x-1.60.tar.gz) = 96422e0257312dcbb4591ec3b9f83bef5a92e1b8
4RMD160 (snes9x-1.59.2.tar.gz) = 6ae871a66e4bb18901f8ed8cc2fcbf9aa4b809ba 4RMD160 (snes9x-1.60.tar.gz) = c42d3f7c1fce0b6901c8f65dc07a626d9b58c873
5SHA512 (snes9x-1.59.2.tar.gz) = 84d2dfc12a991b77b30ba9a591d285ecd4cc5fbb418282900209db9191d61611123ffa7d715b7abeed9b891e9af88ab4c46616502523a881127e2ede008236e4 5SHA512 (snes9x-1.60.tar.gz) = 840b006a8fbd479fd5ceb2d94af4ef6470c5e27a3e6c8ddb0dffc8d3e51f465669144cd428bfce28b2ed4f68e70d8f252f2d8a2cae602ba797791d7e483c14c9
6Size (snes9x-1.59.2.tar.gz) = 2819803 bytes 6Size (snes9x-1.60.tar.gz) = 2863228 bytes

cvs diff -r1.3 -r1.4 pkgsrc/emulators/snes9x/Makefile.common (expand / switch to unified diff)

--- pkgsrc/emulators/snes9x/Makefile.common 2019/03/05 12:12:31 1.3
+++ pkgsrc/emulators/snes9x/Makefile.common 2019/04/25 13:06:58 1.4
@@ -1,18 +1,18 @@ @@ -1,18 +1,18 @@
1# $NetBSD: Makefile.common,v 1.3 2019/03/05 12:12:31 nia Exp $ 1# $NetBSD: Makefile.common,v 1.4 2019/04/25 13:06:58 nia Exp $
2 2
3# used by emulators/libretro-snes9x/Makefile 3# used by emulators/libretro-snes9x/Makefile
4# used by emulators/snes9x/Makefile 4# used by emulators/snes9x/Makefile
5# used by emulators/snes9x-gtk/Makefile 5# used by emulators/snes9x-gtk/Makefile
6 6
7SNES9X_VERSION= 1.59.2 7SNES9X_VERSION= 1.60
8DISTNAME= snes9x-${SNES9X_VERSION} 8DISTNAME= snes9x-${SNES9X_VERSION}
9CATEGORIES= emulators 9CATEGORIES= emulators
10MASTER_SITES= ${MASTER_SITE_GITHUB:=snes9xgit/} 10MASTER_SITES= ${MASTER_SITE_GITHUB:=snes9xgit/}
11GITHUB_PROJECT= snes9x 11GITHUB_PROJECT= snes9x
12GITHUB_TAG= ${SNES9X_VERSION} 12GITHUB_TAG= ${SNES9X_VERSION}
13 13
14HOMEPAGE= http://www.snes9x.com/ 14HOMEPAGE= http://www.snes9x.com/
15LICENSE= snes9x-license 15LICENSE= snes9x-license
16 16
17EXTRACT_USING= bsdtar 17EXTRACT_USING= bsdtar
18USE_LANGUAGES= c c++11 18USE_LANGUAGES= c c++11

cvs diff -r1.23 -r1.24 pkgsrc/emulators/snes9x/distinfo (expand / switch to unified diff)

--- pkgsrc/emulators/snes9x/distinfo 2019/03/05 12:12:31 1.23
+++ pkgsrc/emulators/snes9x/distinfo 2019/04/25 13:06:58 1.24
@@ -1,8 +1,8 @@ @@ -1,8 +1,8 @@
1$NetBSD: distinfo,v 1.23 2019/03/05 12:12:31 nia Exp $ 1$NetBSD: distinfo,v 1.24 2019/04/25 13:06:58 nia Exp $
2 2
3SHA1 (snes9x-1.59.2.tar.gz) = d6205269b539b62e6ae49da4261b48290b773a47 3SHA1 (snes9x-1.60.tar.gz) = 96422e0257312dcbb4591ec3b9f83bef5a92e1b8
4RMD160 (snes9x-1.59.2.tar.gz) = 6ae871a66e4bb18901f8ed8cc2fcbf9aa4b809ba 4RMD160 (snes9x-1.60.tar.gz) = c42d3f7c1fce0b6901c8f65dc07a626d9b58c873
5SHA512 (snes9x-1.59.2.tar.gz) = 84d2dfc12a991b77b30ba9a591d285ecd4cc5fbb418282900209db9191d61611123ffa7d715b7abeed9b891e9af88ab4c46616502523a881127e2ede008236e4 5SHA512 (snes9x-1.60.tar.gz) = 840b006a8fbd479fd5ceb2d94af4ef6470c5e27a3e6c8ddb0dffc8d3e51f465669144cd428bfce28b2ed4f68e70d8f252f2d8a2cae602ba797791d7e483c14c9
6Size (snes9x-1.59.2.tar.gz) = 2819803 bytes 6Size (snes9x-1.60.tar.gz) = 2863228 bytes
7SHA1 (patch-unix_configure) = 9df9a805141396583bceb35bea1bda157ed3ed6b 7SHA1 (patch-unix_configure) = 9df9a805141396583bceb35bea1bda157ed3ed6b
8SHA1 (patch-unix_unix.cpp) = a78882348d28f091863c75ea50e853369c8762a1 8SHA1 (patch-unix_unix.cpp) = 4ef289037fcd7a540b021ead7d906800c932e1bc

cvs diff -r1.11 -r1.12 pkgsrc/emulators/snes9x-gtk/distinfo (expand / switch to unified diff)

--- pkgsrc/emulators/snes9x-gtk/distinfo 2019/03/05 12:12:31 1.11
+++ pkgsrc/emulators/snes9x-gtk/distinfo 2019/04/25 13:06:58 1.12
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
1$NetBSD: distinfo,v 1.11 2019/03/05 12:12:31 nia Exp $ 1$NetBSD: distinfo,v 1.12 2019/04/25 13:06:58 nia Exp $
2 2
3SHA1 (snes9x-1.59.2.tar.gz) = d6205269b539b62e6ae49da4261b48290b773a47 3SHA1 (snes9x-1.60.tar.gz) = 96422e0257312dcbb4591ec3b9f83bef5a92e1b8
4RMD160 (snes9x-1.59.2.tar.gz) = 6ae871a66e4bb18901f8ed8cc2fcbf9aa4b809ba 4RMD160 (snes9x-1.60.tar.gz) = c42d3f7c1fce0b6901c8f65dc07a626d9b58c873
5SHA512 (snes9x-1.59.2.tar.gz) = 84d2dfc12a991b77b30ba9a591d285ecd4cc5fbb418282900209db9191d61611123ffa7d715b7abeed9b891e9af88ab4c46616502523a881127e2ede008236e4 5SHA512 (snes9x-1.60.tar.gz) = 840b006a8fbd479fd5ceb2d94af4ef6470c5e27a3e6c8ddb0dffc8d3e51f465669144cd428bfce28b2ed4f68e70d8f252f2d8a2cae602ba797791d7e483c14c9
6Size (snes9x-1.59.2.tar.gz) = 2819803 bytes 6Size (snes9x-1.60.tar.gz) = 2863228 bytes
7SHA1 (patch-shaders_shader__platform.h) = bc4acd8d3241a70ec08ea7481c5ec5c476b2c28f 7SHA1 (patch-shaders_shader__platform.h) = bc4acd8d3241a70ec08ea7481c5ec5c476b2c28f

cvs diff -r1.2 -r1.3 pkgsrc/emulators/snes9x/patches/patch-unix_unix.cpp (expand / switch to unified diff)

--- pkgsrc/emulators/snes9x/patches/patch-unix_unix.cpp 2019/01/04 23:34:36 1.2
+++ pkgsrc/emulators/snes9x/patches/patch-unix_unix.cpp 2019/04/25 13:06:58 1.3
@@ -1,33 +1,33 @@ @@ -1,33 +1,33 @@
1$NetBSD: patch-unix_unix.cpp,v 1.2 2019/01/04 23:34:36 nia Exp $ 1$NetBSD: patch-unix_unix.cpp,v 1.3 2019/04/25 13:06:58 nia Exp $
2 2
3Avoid colliding with libc functions. 3Avoid colliding with libc functions.
4 4
5--- unix/unix.cpp.orig 2018-12-16 17:04:59.000000000 +0000 5--- unix/unix.cpp.orig 2019-04-23 18:57:18.000000000 +0000
6+++ unix/unix.cpp 6+++ unix/unix.cpp
7@@ -156,7 +156,7 @@ bool S9xDisplayPollButton (uint32, bool  7@@ -156,7 +156,7 @@ bool S9xDisplayPollButton (uint32, bool
8 bool S9xDisplayPollAxis (uint32, int16 *); 8 bool S9xDisplayPollAxis (uint32, int16 *);
9 bool S9xDisplayPollPointer (uint32, int16 *, int16 *); 9 bool S9xDisplayPollPointer (uint32, int16 *, int16 *);
10  10
11-static long log2 (long); 11-static long log2 (long);
12+static long log2_l (long); 12+static long log2_l (long);
13 static void SoundTrigger (void); 13 static void SoundTrigger (void);
14 static void InitTimer (void); 14 static void InitTimer (void);
15 static void NSRTControllerSetup (void); 15 static void NSRTControllerSetup (void);
16@@ -230,7 +230,7 @@ void _makepath (char *path, const char * 16@@ -230,7 +230,7 @@ void _makepath (char *path, const char *
17 } 17 }
18 } 18 }
19  19
20-static long log2 (long num) 20-static long log2 (long num)
21+static long log2_l (long num) 21+static long log2_l (long num)
22 { 22 {
23 long n = 0; 23 long n = 0;
24  24
25@@ -1324,7 +1324,7 @@ bool8 S9xOpenSoundDevice (void) 25@@ -1356,7 +1356,7 @@ bool8 S9xOpenSoundDevice (void)
26 return (FALSE); 26 return (FALSE);
27 } 27 }
28  28
29- J = log2(unixSettings.SoundFragmentSize) | (3 << 16); 29- J = log2(unixSettings.SoundFragmentSize) | (4 << 16);
30+ J = log2_l(unixSettings.SoundFragmentSize) | (3 << 16); 30+ J = log2_l(unixSettings.SoundFragmentSize) | (4 << 16);
31 if (ioctl(so.sound_fd, SNDCTL_DSP_SETFRAGMENT, &J) == -1) 31 if (ioctl(so.sound_fd, SNDCTL_DSP_SETFRAGMENT, &J) == -1)
32 return (FALSE); 32 return (FALSE);
33  33