From 6ebad9e06fb7b4694e13ca26b5ec3f7a4603d090 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sat, 16 Nov 2013 15:27:19 -0800 Subject: [PATCH] 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. --- Core/HLE/sceCtrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/HLE/sceCtrl.cpp b/Core/HLE/sceCtrl.cpp index 8536bd65b4..5e2051b378 100644 --- a/Core/HLE/sceCtrl.cpp +++ b/Core/HLE/sceCtrl.cpp @@ -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++;