mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-03 03:03:50 +01:00
Release all keys on pause.
Fixes #18767 Not sure about merging for the 1.17 series though, maybe someone really likes to bring up the pause menu briefly while holding a direction.. we could actually handle that with some extra logic.
This commit is contained in:
1 parent
f02142c5c0
commit
7920d3a44b
3 files changed
+40
No files matched your search
@@ -496,6 +496,7 @@ void EmuScreen::focusChanged(ScreenFocusChange focusChange) {
|
||||
switch (focusChange) {
|
||||
case ScreenFocusChange::FOCUS_LOST_TOP:
|
||||
g_Config.TimeTracker().Stop(gameID);
|
||||
controlMapper_.ReleaseAll();
|
||||
break;
|
||||
case ScreenFocusChange::FOCUS_BECAME_TOP:
|
||||
g_Config.TimeTracker().Start(gameID);
|
||||
|
||||
Reference in new issue
Block a user