[mupen64plus-core] 251/310: Use correct config parameter string (CurrentSaveSlot->CurrentStateSlot)

Sven Eckelmann ecsv-guest at moszumanska.debian.org
Thu Nov 26 05:58:10 UTC 2015


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

ecsv-guest pushed a commit to branch armhf_test
in repository mupen64plus-core.

commit e38d9e92b831b227e82e0f9a3cf0bee39d11468d
Author: Sven Eckelmann <sven at narfation.org>
Date:   Fri Dec 13 16:25:50 2013 +0100

    Use correct config parameter string (CurrentSaveSlot->CurrentStateSlot)
---
 debian/changelog                             |  2 ++
 debian/patches/config_currentstateslot.patch | 17 +++++++++++++++++
 debian/patches/series                        |  1 +
 3 files changed, 20 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index a5926be..00df0b5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,8 @@ mupen64plus-core (2.0-4) UNRELEASED; urgency=low
       from same type
     - Add delay_si.patch, Allow to disable interrupt delay after DMA SI
       read/write
+    - Add config_currentstateslot.patch, Use correct config parameter string
+      (CurrentSaveSlot->CurrentStateSlot)
 
  -- Sven Eckelmann <sven at narfation.org>  Sat, 05 Oct 2013 22:52:30 +0200
 
diff --git a/debian/patches/config_currentstateslot.patch b/debian/patches/config_currentstateslot.patch
new file mode 100644
index 0000000..5f316d8
--- /dev/null
+++ b/debian/patches/config_currentstateslot.patch
@@ -0,0 +1,17 @@
+Description: Use correct config parameter string (CurrentSaveSlot->CurrentStateSlot)
+Author: littleguy77 <mattlichter at live.com>
+
+---
+diff --git a/src/main/savestates.c b/src/main/savestates.c
+index ff03f99ce579e90902455a49487fd05448e11aba..de51f3a84beab32ce54ff98e77c366dcf47db22e 100644
+--- a/src/main/savestates.c
++++ b/src/main/savestates.c
+@@ -118,7 +118,7 @@ void savestates_select_slot(unsigned int s)
+     if(s>9||s==slot)
+         return;
+     slot = s;
+-    ConfigSetParameter(g_CoreConfig, "CurrentSaveSlot", M64TYPE_INT, &s);
++    ConfigSetParameter(g_CoreConfig, "CurrentStateSlot", M64TYPE_INT, &s);
+     StateChanged(M64CORE_SAVESTATE_SLOT, slot);
+ 
+     main_message(M64MSG_STATUS, OSD_BOTTOM_LEFT, "Selected state slot: %d", slot);
diff --git a/debian/patches/series b/debian/patches/series
index fee9210..61d6bc0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -10,3 +10,4 @@ oot_subscreen_delay_fix.patch
 counter_per_op.patch
 two_events_interrupt.patch
 delay_si.patch
+config_currentstateslot.patch

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



More information about the Pkg-games-commits mailing list