[mednaffe] 10/99: Support for 0.9.32 added

Stephen Kitt skitt at moszumanska.debian.org
Tue Aug 2 21:00:00 UTC 2016


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

skitt pushed a commit to branch master
in repository mednaffe.

commit 6f2fbe0fba3e2f4fa4047dbba98d0daa40f6d8e9
Author: amatcoder <amatcoder at 44025b82-9115-564b-7d03-7f3fc60b4744>
Date:   Fri Sep 13 18:50:21 2013 +0000

    Support for 0.9.32 added
---
 src/mednaffe.c | 2 +-
 src/toggles.c  | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/mednaffe.c b/src/mednaffe.c
index d8d6fdf..f0e31ac 100644
--- a/src/mednaffe.c
+++ b/src/mednaffe.c
@@ -555,7 +555,7 @@ int main(int argc, char **argv)
   if (!read_cfg(cfg_path, &gui))
   {
     show_error(
-    "Mednafen version is not compatible.\nYou need 0.9.28/29/31-WIP version.\n");
+    "Mednafen version is not compatible.\nYou need 0.9.28/29/31/32-WIP version.\n");
     return 1; /* Items are not freed here */
   }
   g_free(cfg_path);
diff --git a/src/toggles.c b/src/toggles.c
index 89f3669..f0418e7 100644
--- a/src/toggles.c
+++ b/src/toggles.c
@@ -357,7 +357,9 @@ gboolean read_cfg(gchar *cfg_path, guidata *gui)
     if (((achar[0][11]!='9') || (achar[0][13]!='2') || 
         ((achar[0][14]!='8') && 
          (achar[0][14]!='9')))
-         &&((achar[0][13]!='3') || (achar[0][14]!='1')))
+                             && ((achar[0][13]!='3') || 
+        ((achar[0][14]!='1') && 
+         (achar[0][14]!='2'))))
       return FALSE;
                                                 
     printf("[Mednaffe] %s\n",version);

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



More information about the Pkg-games-commits mailing list