[mupen64plus-video-glide64] 63/172: Load default settings in the PluginStartup function

Sven Eckelmann ecsv-guest at moszumanska.debian.org
Thu Nov 26 06:11:49 UTC 2015


This is an automated email from the git hooks/post-receive script.

ecsv-guest pushed a commit to branch master
in repository mupen64plus-video-glide64.

commit 927a83822359d1eca2ee0f0a178fc59d134f92c6
Author: Sven Eckelmann <sven at narfation.org>
Date:   Sun Jul 24 10:31:39 2011 +0200

    Load default settings in the PluginStartup function
---
 debian/changelog                      |  2 ++
 debian/patches/default_settings.patch | 19 +++++++++++++++++++
 debian/patches/series                 |  1 +
 3 files changed, 22 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index d293249..e08d58b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,8 @@ mupen64plus-video-glide64 (1.99.4-3) UNRELEASED; urgency=low
   * debian/patches:
     - Remove obsolete default-optimisations.patch
     - Add rewrite_makefile.patch, Rewrite Makefile to fix flags and linking
+    - Add default_settings.patch, Load default settings in the PluginStartup
+      function so they are available before a game runs
   * Depend on pkg-config in debian/control for new Makefile
 
  -- Sven Eckelmann <sven at narfation.org>  Sat, 23 Jul 2011 16:42:57 +0200
diff --git a/debian/patches/default_settings.patch b/debian/patches/default_settings.patch
new file mode 100644
index 0000000..e755116
--- /dev/null
+++ b/debian/patches/default_settings.patch
@@ -0,0 +1,19 @@
+Description: Load default settings in the PluginStartup
+ Load default settings in the PluginStartup function so they are available
+ before a game runs
+Origin: upstream, https://bitbucket.org/wahrhaft/mupen64plus-video-glide64/changeset/f955c5740719/raw/mupen64plus-video-glide64-f955c5740719.diff
+Author: Jon 'wahrhaft' Ring <wahrh4ft at gmail.com>
+
+---
+diff --git a/src/Main.cpp b/src/Main.cpp
+index e332ceb369bd9528dc4ac9a576df026bd1995936..9f151440b858e912eaaebfcd614819b32d365b0a 100755
+--- a/src/Main.cpp
++++ b/src/Main.cpp
+@@ -987,6 +987,7 @@ EXPORT m64p_error CALL PluginStartup(m64p_dynlib_handle CoreLibHandle, void *Con
+     {
+         SetConfigDir(configDir);
+         CoreVideo_Init();
++		ReadSettings();
+         return M64ERR_SUCCESS;
+     }
+     else
diff --git a/debian/patches/series b/debian/patches/series
index bc3dfe7..469b155 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 rewrite_makefile.patch
 printf_fixup.patch
+default_settings.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/mupen64plus-video-glide64.git



More information about the Pkg-games-commits mailing list