[mythtv] Patch for xmame roms not recognized

Ryan Nowakowski tubaman at fattuba.com
Sat Jul 3 12:44:48 EDT 2004


I went ahead and added this one to bugzilla.

http://www.mythtv.org/bugs/show_bug.cgi?id=16

- Ryan

On Mon, Jun 21, 2004 at 01:08:58PM -0600, Rick St.Pierre wrote:
> 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
> 

> ? 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;

> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev



More information about the mythtv-dev mailing list