[mednaffe] 07/99: Support for 0.9.31 added and 0.9.27 removed

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 884813228428069b7f7dff63aae7454b527d499c
Author: amatcoder <amatcoder at 44025b82-9115-564b-7d03-7f3fc60b4744>
Date:   Sat Sep 7 20:38:25 2013 +0000

    Support for 0.9.31 added and 0.9.27 removed
---
 src/mednaffe.c | 2 +-
 src/toggles.c  | 9 ++++-----
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/src/mednaffe.c b/src/mednaffe.c
index 045c7d9..d8d6fdf 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.27/28/29-WIP version.\n");
+    "Mednafen version is not compatible.\nYou need 0.9.28/29/31-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 2c339ad..89f3669 100644
--- a/src/toggles.c
+++ b/src/toggles.c
@@ -354,11 +354,10 @@ gboolean read_cfg(gchar *cfg_path, guidata *gui)
     version = g_strconcat(" Mednafen version ", aline[1], 
                                                 " detected...", NULL);
 
-    if ((achar[0][11]!='9') || (achar[0][13]!='2') || 
-        ((achar[0][14]!='7') && 
-         (achar[0][14]!='8') && 
-         (achar[0][14]!='9'))
-        )
+    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')))
       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