mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-18 03:44:32 +01:00
Include all released buttons in the latch.
Not just newly released ones. This does appear to be how the PSP fills this buffer - it's normally 0xffffffff.
This commit is contained in:
1 parent
d7d0242225
commit
6ebad9e06f
1 file changed
+1
-1
@@ -114,7 +114,7 @@ void __CtrlUpdateLatch()
|
||||
latch.btnMake |= buttons & changed;
|
||||
latch.btnBreak |= ctrlOldButtons & changed;
|
||||
latch.btnPress |= buttons;
|
||||
latch.btnRelease |= (ctrlOldButtons & ~buttons) & changed;
|
||||
latch.btnRelease |= ~buttons;
|
||||
dialogBtnMake |= buttons & changed;
|
||||
ctrlLatchBufs++;
|
||||
|
||||
|
||||
Reference in new issue
Block a user