mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 05:26:24 +02:00
Prevent tilt-controlled left/right dpad butons from getting stuck
Silly typo from the input refactoring. Fixes #17384
This commit is contained in:
1 parent
dc96374eb2
commit
53ed8a164e
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user