diff options
author | dhewg | 2011-03-02 23:41:59 +0100 |
---|---|---|
committer | dhewg | 2011-03-02 23:41:59 +0100 |
commit | 719d22918d8058cba68923b4c11b792dbe76f22f (patch) | |
tree | 6906783bd62ac30e2a6fe9ff4bc7b4b0d587439a | |
parent | 2d4a64d18493b142b1899a822202015339733cfa (diff) | |
download | scummvm-rg350-719d22918d8058cba68923b4c11b792dbe76f22f.tar.gz scummvm-rg350-719d22918d8058cba68923b4c11b792dbe76f22f.tar.bz2 scummvm-rg350-719d22918d8058cba68923b4c11b792dbe76f22f.zip |
ANDROID: Respect the pause level.
-rw-r--r-- | backends/platform/android/jni.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/backends/platform/android/jni.cpp b/backends/platform/android/jni.cpp index 9ecd9577e7..175973079f 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; |