[mythtv] XMAME 0.87 command line arguments
Charlie Brej
brejc8 at vu.a.la
Tue Oct 12 21:23:06 UTC 2004
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 ";
--
Charlie Brej
APT Group, Dept. Computer Science, University of Manchester
Web: http://www.cs.man.ac.uk/~brejc8/ Tel: +44 161 275 6844
Mail: IT302, Manchester University, Manchester, M13 9PL, UK
More information about the mythtv-dev
mailing list