projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd_jue-3.2.5
[rocksndiamonds.git]
/
src
/
libgame
/
misc.c
diff --git
a/src/libgame/misc.c
b/src/libgame/misc.c
index 1cbb1c942813e9d3bff20bcf697fb67e37c98222..9d23c75f838c42301f3b44f07ad27d530e9f124b 100644
(file)
--- a/
src/libgame/misc.c
+++ b/
src/libgame/misc.c
@@
-664,6
+664,7
@@
void GetOptions(char *argv[], void (*print_usage_function)(void))
options.network = FALSE;
options.verbose = FALSE;
options.debug = FALSE;
options.network = FALSE;
options.verbose = FALSE;
options.debug = FALSE;
+ options.debug_x11_sync = FALSE;
#if !defined(PLATFORM_UNIX)
if (*options_left == NULL) /* no options given -- enable verbose mode */
#if !defined(PLATFORM_UNIX)
if (*options_left == NULL) /* no options given -- enable verbose mode */
@@
-789,6
+790,10
@@
void GetOptions(char *argv[], void (*print_usage_function)(void))
{
options.debug = TRUE;
}
{
options.debug = TRUE;
}
+ else if (strncmp(option, "-debug-x11-sync", option_len) == 0)
+ {
+ options.debug_x11_sync = TRUE;
+ }
else if (strncmp(option, "-execute", option_len) == 0)
{
if (option_arg == NULL)
else if (strncmp(option, "-execute", option_len) == 0)
{
if (option_arg == NULL)