[Scummvm-cvs-logs] CVS: scummvm/base gameDetector.cpp,1.124,1.125
Eugene Sandulenko
sev at users.sourceforge.net
Mon Oct 17 20:53:37 CEST 2005
Update of /cvsroot/scummvm/scummvm/base
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18261/base
Modified Files:
gameDetector.cpp
Log Message:
Add possibility to disable SDL parachute on run-time. Option
--disable-sdl-parachute should be completely undocumented and not mentioned
to end-users. Wrong usage may lead to system lock-up especially when used
with fullscreen mode.
SDL Parachute is used to prevent system instability and do a graceful exit
if something bad happens. It catches most of signals sent to thr process.
Side effect of that that quite often when SDL application dies, core dump
isn't made on *nix systems. This feature adds possibility to disable it.
Index: gameDetector.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/base/gameDetector.cpp,v
retrieving revision 1.124
retrieving revision 1.125
diff -u -d -r1.124 -r1.125
--- gameDetector.cpp 18 Oct 2005 01:30:16 -0000 1.124
+++ gameDetector.cpp 18 Oct 2005 03:52:21 -0000 1.125
@@ -166,6 +166,7 @@
// Miscellaneous
ConfMan.registerDefault("joystick_num", -1);
ConfMan.registerDefault("confirm_exit", false);
+ ConfMan.registerDefault("disable_sdl_parachute", false);
#ifdef USE_ALSA
ConfMan.registerDefault("alsa_port", "65:0");
#endif
@@ -501,6 +502,10 @@
settings["soundfont"] = option;
END_OPTION
+ DO_LONG_OPTION_BOOL("disable-sdl-parachute")
+ settings["disable_sdl_parachute"] = boolValue ? "true" : "false";
+ END_OPTION
+
DO_LONG_OPTION_BOOL("multi-midi")
settings["multi_midi"] = boolValue ? "true" : "false";
END_OPTION
More information about the Scummvm-git-logs
mailing list