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:
Unknown W. Brackets authored and GitHub committed 2019-03-12 07:34:16 -07:00
commit 05ad393dcb
1 file changed
+1 -2
+1 -2
View File
@@ -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;
}
}