rnd-20131217-2-src
[rocksndiamonds.git] / src / init.c
index aa30167af3c2eb52e07aa3426de1ff5fc9d34703..e3bdd9c8f33fe0ca3f351f13cc0e9a294ecc5ada 100644 (file)
@@ -6372,6 +6372,24 @@ void OpenAll()
   DrawMainMenu();
 
   InitNetworkServer();
+
+#if 0
+  Error(ERR_DEBUG, "::: SDL_GetBasePath() == '%s'",
+       SDL_GetBasePath());
+  Error(ERR_DEBUG, "::: SDL_GetPrefPath() == '%s'",
+       SDL_GetPrefPath("artsoft", "rocksndiamonds"));
+#if defined(PLATFORM_ANDROID)
+  Error(ERR_DEBUG, "::: SDL_AndroidGetInternalStoragePath() == '%s'",
+       SDL_AndroidGetInternalStoragePath());
+  Error(ERR_DEBUG, "::: SDL_AndroidGetExternalStoragePath() == '%s'",
+       SDL_AndroidGetExternalStoragePath());
+  Error(ERR_DEBUG, "::: SDL_AndroidGetExternalStorageState() == '%s'",
+       (SDL_AndroidGetExternalStorageState() ==
+        SDL_ANDROID_EXTERNAL_STORAGE_READ ? "read" :
+        SDL_AndroidGetExternalStorageState() ==
+        SDL_ANDROID_EXTERNAL_STORAGE_WRITE ? "write" : "not available"));
+#endif
+#endif
 }
 
 void CloseAllAndExit(int exit_value)