mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 01:25:07 +02:00
Fix toggling pause with the bound pause key
This commit is contained in:
+6
-2
@@ -376,9 +376,13 @@ GamePauseScreen::~GamePauseScreen() {
|
||||
}
|
||||
|
||||
bool GamePauseScreen::UnsyncKey(const KeyInput &key) {
|
||||
int retval = UIScreen::UnsyncKey(key);
|
||||
bool retval = UIScreen::UnsyncKey(key);
|
||||
bool pauseTrigger = false;
|
||||
return retval || g_controlMapper.Key(key, &pauseTrigger);
|
||||
retval = g_controlMapper.Key(key, &pauseTrigger) || retval;
|
||||
if (pauseTrigger) {
|
||||
TriggerFinish(DR_BACK);
|
||||
}
|
||||
return retval;
|
||||
}
|
||||
|
||||
void GamePauseScreen::UnsyncAxis(const AxisInput *axes, size_t count) {
|
||||
|
||||
Reference in New Issue
Block a user