mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-26 19:58:36 +01:00
Don't have pauseTrigger as an output parameter from ControlMapper::Key()
This commit is contained in:
1 parent
d98354aaa1
commit
02aaa3b2b9
6 files changed
+30
-20
No files matched your search
+2
-3
@@ -378,9 +378,8 @@ GamePauseScreen::~GamePauseScreen() {
|
||||
|
||||
bool GamePauseScreen::UnsyncKey(const KeyInput &key) {
|
||||
bool retval = UIScreen::UnsyncKey(key);
|
||||
bool pauseTrigger = false;
|
||||
retval = g_controlMapper.Key(key, &pauseTrigger) || retval;
|
||||
if (pauseTrigger) {
|
||||
retval = g_controlMapper.Key(key) || retval;
|
||||
if (g_controlMapper.PollPauseTrigger()) {
|
||||
TriggerFinish(DR_BACK);
|
||||
}
|
||||
return retval;
|
||||
|
||||
Reference in new issue
Block a user