mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 09:35:09 +02:00
Don't have pauseTrigger as an output parameter from ControlMapper::Key()
This commit is contained in:
+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