commit 07eb7d773ec642a1d5bdcd867b43c9d9fe1a740c
Author: Andrea Musuruane <musuruan(a)gmail.com>
Date: Thu Apr 25 13:01:35 2019 +0200
Updated to 1.60
.gitignore | 1 +
snes9x-1.60-soundsync.patch | 22 ++++++++++++++++++++++
snes9x.spec | 10 +++++++++-
sources | 2 +-
4 files changed, 33 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ece2d24..d7f2421 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@ snes9x-1.53-src.tar.bz2
/snes9x-1.57.tar.gz
/snes9x-1.58.tar.gz
/snes9x-1.59.2.tar.gz
+/snes9x-1.60.tar.gz
diff --git a/snes9x-1.60-soundsync.patch b/snes9x-1.60-soundsync.patch
new file mode 100644
index 0000000..f3d7f05
--- /dev/null
+++ b/snes9x-1.60-soundsync.patch
@@ -0,0 +1,22 @@
+From 54a961d8ca57c5d81a5f2d4e2743330bc7446aa6 Mon Sep 17 00:00:00 2001
+From: Brandon Wright <bearoso(a)gmail.com>
+Date: Wed, 24 Apr 2019 15:22:16 -0500
+Subject: [PATCH] Don't set soundsync on with no way to disable.
+
+---
+ snes9x.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/snes9x.cpp b/snes9x.cpp
+index 2ce2919f..95030e73 100644
+--- a/snes9x.cpp
++++ b/snes9x.cpp
+@@ -234,7 +234,7 @@ void S9xLoadConfigFiles (char **argv, int argc)
+
+ // Sound
+
+- Settings.SoundSync = conf.GetBool("Sound::Sync",
true);
++ Settings.SoundSync = conf.GetBool("Sound::Sync",
false);
+ Settings.SixteenBitSound = conf.GetBool("Sound::16BitSound",
true);
+ Settings.Stereo = conf.GetBool("Sound::Stereo",
true);
+ Settings.ReverseStereo = conf.GetBool("Sound::ReverseStereo",
false);
diff --git a/snes9x.spec b/snes9x.spec
index 88ebecd..791a403 100644
--- a/snes9x.spec
+++ b/snes9x.spec
@@ -1,6 +1,6 @@
Summary: Super Nintendo Entertainment System emulator
Name: snes9x
-Version: 1.59.2
+Version: 1.60
Release: 1%{?dist}
License: Other
URL:
http://www.snes9x.com/
@@ -8,6 +8,10 @@ Source0:
https://github.com/snes9xgit/snes9x/archive/%{version}.tar.gz#/%{name}-
Source1: %{name}-gtk.appdata.xml
# Fix CFLAGS usage in CLI version
Patch0: %{name}-1.56.1-unix_flags.patch
+# Don't set soundsync on with no way to disable
+#
https://github.com/snes9xgit/snes9x/issues/530
+#
https://github.com/snes9xgit/snes9x/commit/54a961d8ca57c5d81a5f2d4e274333...
+Patch1: %{name}-1.60-soundsync.patch
BuildRequires: gcc-c++
BuildRequires: meson
@@ -55,6 +59,7 @@ This package contains a graphical user interface using GTK+.
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
# Remove bundled libs
rm -rf unzip
@@ -118,6 +123,9 @@ appstream-util validate-relax --nonet
%{buildroot}%{_datadir}/metainfo/*.appdata
%changelog
+* Wed Apr 24 2019 Andrea Musuruane <musuruan(a)gmail.com> - 1.60-1
+- Updated to 1.60
+
* Sat Mar 02 2019 Andrea Musuruane <musuruan(a)gmail.com> - 1.59.2-1
- Updated to 1.59.2
- Improved macro usage
diff --git a/sources b/sources
index 355aa5a..397a32d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8f66f3267a4dd0f9bc7e211d49df35b2 snes9x-1.59.2.tar.gz
+1e0d5d5209b8018080bca0aa5da02dff snes9x-1.60.tar.gz