mirror of https://github.com/PCSX2/pcsx2.git
Don't call PressButton if the key pressed isn't in the index.
This commit is contained in:
parent
b45e524b2c
commit
6afee4ae0c
|
@ -152,6 +152,7 @@ static void AnalyzeKeyEvent(keyEvent &evt)
|
|||
}
|
||||
}
|
||||
|
||||
if (index != -1)
|
||||
PressButton(pad, index);
|
||||
|
||||
//PAD_LOG("Key pressed:%d\n", index);
|
||||
|
|
Loading…
Reference in New Issue