Skip to content
Permalink
Browse files

Merge pull request #11879 from hrydgard/fix-ctrl-latch-bug

Fix apparent bug in #11094, fixes #11878 and likely #11798
  • Loading branch information...
unknownbrackets committed Mar 12, 2019
2 parents 624587c + 60e32e9 commit 05ad393dcbd42febcf87cf1324f2757480c8ace4
Showing with 1 addition and 2 deletions.
  1. +1 −2 Core/HLE/sceCtrl.cpp
@@ -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;
}
}

0 comments on commit 05ad393

Please sign in to comment.
You can’t perform that action at this time.