aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordhewg2011-05-01 18:07:27 +0200
committerdhewg2011-05-01 18:07:27 +0200
commitcf41ac0fec13c1191fd107bf25505713aa60afde (patch)
tree47b70281198d9be1342a6da2b123cb6181c95f03
parente467468900144a2cd1c4df04e5b708a5d4f60172 (diff)
downloadscummvm-rg350-cf41ac0fec13c1191fd107bf25505713aa60afde.tar.gz
scummvm-rg350-cf41ac0fec13c1191fd107bf25505713aa60afde.tar.bz2
scummvm-rg350-cf41ac0fec13c1191fd107bf25505713aa60afde.zip
ANDROID: Disable the savegame parachute
Only on the stable branch, since this is unfinished and might wipe savegames of the user.
-rw-r--r--backends/platform/android/jni.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/platform/android/jni.cpp b/backends/platform/android/jni.cpp
index f23d71b2a4..55c0ce6025 100644
--- a/backends/platform/android/jni.cpp
+++ b/backends/platform/android/jni.cpp
@@ -588,10 +588,12 @@ void JNI::setPause(JNIEnv *env, jobject self, jboolean value) {
g_engine->pauseEngine(value);
+#if 0
if (value &&
g_engine->hasFeature(Engine::kSupportsSavingDuringRuntime) &&
g_engine->canSaveGameStateCurrently())
g_engine->saveGameState(0, "Android parachute");
+#endif
}
pause = value;