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:
Unknown W. Brackets committed 2013-11-17 19:32:21 -08:00
1 parent d7d0242225
commit 6ebad9e06f
1 file changed
+1 -1
+1 -1
View File
@@ -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++;