[mythtv] Patch for xmame roms not recognized

Rick St.Pierre rick at rspacoustics.com
Mon Jun 21 15:08:58 EDT 2004


I have been having this problem for a while and saw a post on the user's 
list with more info regarding the quote being left in when adding to the 
table, so I looked through the code and made this change that fixes 
things for me.  Hopefully, it is ok as it is my first patch.  Just a 
one-line changes so not much could go wrong. :)

Rick.

-- 
Rick St.Pierre 
RSP Acoustics
rick at rspacoustics.com

-------------- next part --------------
? xmame.diff
Index: mamehandler.cpp
===================================================================
RCS file: /var/lib/mythcvs/mythgame/mythgame/mamehandler.cpp,v
retrieving revision 1.30
diff -u -w -r1.30 mamehandler.cpp
--- mamehandler.cpp	28 Apr 2004 16:14:48 -0000	1.30
+++ mamehandler.cpp	21 Jun 2004 19:04:13 -0000
@@ -220,7 +220,7 @@
 
 
                                         if (p[0] == '\"')
-                                                *p = *p++;
+                                                p++;
                                         value = p;
 
                                         i = 0;


More information about the mythtv-dev mailing list