aboutsummaryrefslogtreecommitdiff
path: root/backends/events
diff options
context:
space:
mode:
Diffstat (limited to 'backends/events')
-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);