added enabling debug mode on Android when compiled with 'DEBUG' defined
[rocksndiamonds.git] / src / libgame / misc.c
index ed34319f23abc1bdcc3da32a2e569da2efe6785b..bddd38d9a933ce858a53ee3d5c4706192107d35f 100644 (file)
@@ -1003,6 +1003,12 @@ void GetOptions(int argc, char *argv[],
   if (*options_left == NULL)   /* no options given -- enable verbose mode */
     options.verbose = TRUE;
 #endif
+#endif
+
+#if DEBUG
+#if defined(PLATFORM_ANDROID)
+  options.debug = TRUE;
+#endif
 #endif
 
   while (*options_left)