mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Prevent tilt-controlled left/right dpad butons from getting stuck
Silly typo from the input refactoring. Fixes #17384
This commit is contained in:
parent
dc96374eb2
commit
53ed8a164e
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ void GenerateDPadEvent(int digitalX, int digitalY) {
|
|||
static const int dir[4] = { CTRL_RIGHT, CTRL_DOWN, CTRL_LEFT, CTRL_UP };
|
||||
|
||||
if (digitalX == 0) {
|
||||
__CtrlUpdateButtons(tiltButtonsDown & (CTRL_RIGHT | CTRL_LEFT), 0);
|
||||
__CtrlUpdateButtons(0, tiltButtonsDown & (CTRL_RIGHT | CTRL_LEFT));
|
||||
tiltButtonsDown &= ~(CTRL_LEFT | CTRL_RIGHT);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue