diff options
author | Fabio Battaglia | 2010-01-10 18:11:36 +0000 |
---|---|---|
committer | Fabio Battaglia | 2010-01-10 18:11:36 +0000 |
commit | ecff81544c8b3c5cf4ad365553f27aad03987000 (patch) | |
tree | 97283ece9cd1ea7ddec3eeb9833f5a653d1c56e0 | |
parent | 52fb0c59da70e0098ec8dfbc5d8b99d2e10067c5 (diff) | |
download | scummvm-rg350-ecff81544c8b3c5cf4ad365553f27aad03987000.tar.gz scummvm-rg350-ecff81544c8b3c5cf4ad365553f27aad03987000.tar.bz2 scummvm-rg350-ecff81544c8b3c5cf4ad365553f27aad03987000.zip |
remove unneeded workaround for #47233
svn-id: r47234
-rw-r--r-- | backends/events/default/default-events.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/backends/events/default/default-events.cpp b/backends/events/default/default-events.cpp index 4c7dcc70d4..8b3fe5cdc4 100644 --- a/backends/events/default/default-events.cpp +++ b/backends/events/default/default-events.cpp @@ -139,15 +139,10 @@ bool DefaultEventManager::pollEvent(Common::Event &event) { if (_vk->isDisplaying()) { _vk->close(true); } else { - // Check if the engine is already paused before pausing it again - // 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) + if (g_engine) g_engine->pauseEngine(true); _vk->show(); - if (!enginePaused) + if (g_engine) g_engine->pauseEngine(false); result = false; } |