[mythtv] XMAME 0.87 command line arguments
James Armstrong
james at thearmstrongs.org
Wed Oct 13 12:15:51 UTC 2004
I installed the binary xmame .87 a week ago and had to modify the
mamehandler to remove sound, mouse and nomouse to get it to work. I
recompiled from source a few days ago and looked at the code, it seems
there is a mouse option there in xmame but I have not modified
mamehandler to put the option back yet. I had to recompile to use x11
instead of SDL so I could do fullscreen.
- James
Charlie Brej wrote:
> In the latest version of xmame a few command line parameters have been
> removed which make xmame exit with "error: unknown option" when
> started from myth. I'm not sure why these were removed <shrug>.
>
> I am running the SDL version but could other people running other
> version please confirm if -mouse, -nomouse, -sound and -nosound name
> been removed in their x11, xgl, xfx and ggi 0.87 versions?
>
>
> Here is a temporary patch to get it working again (in SDL anyway).
>
> Index: mythgame/mamehandler.cpp
> ===================================================================
> RCS file: /var/lib/mythcvs/mythgame/mythgame/mamehandler.cpp,v
> retrieving revision 1.32
> diff -u -3 -p -r1.32 mamehandler.cpp
> --- mythgame/mamehandler.cpp 7 Sep 2004 02:50:38 -0000 1.32
> +++ mythgame/mamehandler.cpp 12 Oct 2004 20:37:18 -0000
> @@ -913,12 +913,12 @@ void MameHandler::makecmd_line(const cha
> *exec+= vectoropts;
> *exec+= vectorres;
> *exec+= game_settings.analog_joy ? " -analogstick" : "
> -noanalogstick";
> - *exec+= game_settings.mouse ? " -mouse" : " -nomouse";
> +// *exec+= game_settings.mouse ? " -mouse" : " -nomouse";
> *exec+= game_settings.winkeys ? winkeys : nowinkeys;
> *exec+= game_settings.grab_mouse ? grabmouse : nograbmouse;
> *exec+= " -joytype ";
> *exec+= joytype;
> - *exec+= game_settings.sound ? " -sound" : " -nosound";
> +// *exec+= game_settings.sound ? " -sound" : " -nosound";
> *exec+= game_settings.samples ? " -samples" : " -nosamples";
> *exec+= game_settings.fake_sound ? " -fakesound" : "";
> *exec+= " -volume ";
>
>
More information about the mythtv-dev
mailing list