On 2/9/06, <b class="gmail_sendername">Jesse Guardiani</b> <<a href="mailto:jesse@wingnet.net">jesse@wingnet.net</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Well, if you can't wait, you can always use my shell script to work<br>around the problem. I run<br>xmame-0.102 with mythgame 0.18.1 and the attached script as a "wrapper"<br>to xmame.<br><br>Just make the script executable on your machine, and modify line 13 to
<br>suite your needs. Then<br>point mythgame to the script instead of the real xmame binary and you<br>should be fine.<br><br>NOTE: If you're using joystick support in MythTV 0.18.1 then you'll<br>probably want to patch<br>
mythplugins with the attached mythplugins.patch. It mutes MythTV's<br>joystick event loop while<br>your games are running, so your joystick events don't reply in mass when<br>you exit the game.<br>(0.19 will include a similar patch, I think) If you're running Gentoo, I
<br>have attached an ebuild<br>for MythGame that includes the patch.</blockquote><div><br><br>As long as you're patching mamehandler.cpp, you might as well directly fix the root cause of the version problem. Right around line 675, you change the existing:
<br><br> /* See if xmame is new enough. */<br> versionchk_string = (char*)malloc(3);<br> snprintf(versionchk_string, 3, "%s",
<br> minor);<br> <br></div>to:<br><br> /* See if xmame is new enough. */<br> versionchk_string = (char*)malloc(4);<br>
snprintf(versionchk_string, 4, "%s",<br> minor);<br><br>Carl Fongheiser<br></div><br>