mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Merge pull request #11879 from hrydgard/fix-ctrl-latch-bug
Fix apparent bug in #11094, fixes #11878 and likely #11798
This commit is contained in:
1 file changed
+1
-2
@@ -1,4 +1,3 @@
|
||||
|
||||
// Copyright (c) 2012- PPSSPP Project.
|
||||
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
@@ -509,7 +508,7 @@ static void __CtrlWriteUserLatch(CtrlLatch *userLatch, int bufs) {
|
||||
userLatch->btnMake &= CTRL_MASK_USER;
|
||||
userLatch->btnPress &= CTRL_MASK_USER;
|
||||
if (bufs > 0) {
|
||||
userLatch->btnRelease |= CTRL_MASK_USER;
|
||||
userLatch->btnRelease |= ~CTRL_MASK_USER;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user