[Scummvm-cvs-logs] scummvm master -> 719d22918d8058cba68923b4c11b792dbe76f22f

dhewg dhewg at wiibrew.org
Wed Mar 2 23:46:51 CET 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
719d22918d ANDROID: Respect the pause level.


Commit: 719d22918d8058cba68923b4c11b792dbe76f22f
    https://github.com/scummvm/scummvm/commit/719d22918d8058cba68923b4c11b792dbe76f22f
Author: dhewg (dhewg at wiibrew.org)
Date: 2011-03-02T14:41:59-08:00

Commit Message:
ANDROID: Respect the pause level.

Changed paths:
    backends/platform/android/jni.cpp



diff --git a/backends/platform/android/jni.cpp b/backends/platform/android/jni.cpp
index 9ecd957..1759730 100644
--- a/backends/platform/android/jni.cpp
+++ b/backends/platform/android/jni.cpp
@@ -629,12 +629,10 @@ void JNI::pauseEngine(JNIEnv *env, jobject self, jboolean value) {
 	if (!_system)
 		return;
 
-	if (g_engine)
-		if ((value && !g_engine->isPaused()) ||
-				(!value && g_engine->isPaused())) {
-			LOGD("pauseEngine: %d", value);
-			g_engine->pauseEngine(value);
-		}
+	if (g_engine) {
+		LOGD("pauseEngine: %d", value);
+		g_engine->pauseEngine(value);
+	}
 
 	pause = value;
 






More information about the Scummvm-git-logs mailing list