[mythtv] [PATCH] mythgame mame version detection
Herman Kuiper
herman at frontier.nl
Fri Feb 11 08:15:28 UTC 2005
Hi,
I was trying to get xmame.x11 to run in Myth, and found that none of the
games would start. Investigating the command line trying to be run, I found
the -video-mode option was given as argument, even though I'm running xmame
0.86. Somehow the code to detect the proper version of xmame being used did
not trigger the 'minor < 88' test in the code.
Attached patch stop retrieving the minor label when a ' ' is found (as my
mame also returns build date after the minor), and adds a .toint() to the
test for < 88
My first patch, so if something is wrong, please let me know.
Herman
-----------------------------------------------------------------
Herman Kuiper - m: herman at frontier.nl - w: http://www.frontier.nl
Beech Ave 162 - 1119 PS Schiphol-Rijk - t/f: 020-6589034/6142816
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mythgame.mame.patch
Type: application/octet-stream
Size: 1801 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050211/5d26a3b9/mythgame.mame.obj
More information about the mythtv-dev
mailing list