mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-02 06:41:51 +00:00
Fix bug in Engine::pauseEngine (this should fix #2912148 "Using virtual keyboard in menu mutes audio")
svn-id: r47233
This commit is contained in:
parent
8703b6929f
commit
52fb0c59da
@ -354,7 +354,7 @@ void Engine::pauseEngine(bool pause) {
|
||||
else
|
||||
_pauseLevel--;
|
||||
|
||||
if (_pauseLevel == 1) {
|
||||
if (_pauseLevel == 1 && pause) {
|
||||
pauseEngineIntern(true);
|
||||
} else if (_pauseLevel == 0) {
|
||||
pauseEngineIntern(false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user