Skip to content

Commit 60e32e9

Browse files
committed
Fix apparent bug in #11094, fixes #11878 and likely #11798
1 parent 624587c commit 60e32e9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Core/HLE/sceCtrl.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
// Copyright (c) 2012- PPSSPP Project.
32

43
// This program is free software: you can redistribute it and/or modify
@@ -509,7 +508,7 @@ static void __CtrlWriteUserLatch(CtrlLatch *userLatch, int bufs) {
509508
userLatch->btnMake &= CTRL_MASK_USER;
510509
userLatch->btnPress &= CTRL_MASK_USER;
511510
if (bufs > 0) {
512-
userLatch->btnRelease |= CTRL_MASK_USER;
511+
userLatch->btnRelease |= ~CTRL_MASK_USER;
513512
}
514513
}
515514

0 commit comments

Comments
 (0)