aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Battaglia2010-01-10 17:58:44 +0000
committerFabio Battaglia2010-01-10 17:58:44 +0000
commit8703b6929f20a926f04d90977e986fd23a0c0f10 (patch)
treeb5142aea42270e9899b4fc60e15ac7134071f8be
parent09a2694f6f197c4f54a7cb08ab2b4cfe6c677847 (diff)
downloadscummvm-rg350-8703b6929f20a926f04d90977e986fd23a0c0f10.tar.gz
scummvm-rg350-8703b6929f20a926f04d90977e986fd23a0c0f10.tar.bz2
scummvm-rg350-8703b6929f20a926f04d90977e986fd23a0c0f10.zip
Mark the 'fix' in r47231 as a workaround for a probably deeper problem.
svn-id: r47232
-rw-r--r--backends/events/default/default-events.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/events/default/default-events.cpp b/backends/events/default/default-events.cpp
index ee3cfe7ce9..4c7dcc70d4 100644
--- a/backends/events/default/default-events.cpp
+++ b/backends/events/default/default-events.cpp
@@ -140,8 +140,9 @@ bool DefaultEventManager::pollEvent(Common::Event &event) {
_vk->close(true);
} else {
// Check if the engine is already paused before pausing it again
- // Fixes #2912148. Where opening the GMM and then the virtual keyboard
+ // Workaround for #2912148. Where opening the GMM and then the virtual keyboard
// and then closing them left the game mute.
+ // FIXME: Engines should really allow recursive pausing.
bool enginePaused = g_engine ? g_engine->isPaused() : true;
if (!enginePaused)
g_engine->pauseEngine(true);