Skip to content

Commit

Permalink
Merge pull request #11879 from hrydgard/fix-ctrl-latch-bug
Browse files Browse the repository at this point in the history
Fix apparent bug in #11094, fixes #11878 and likely #11798
  • Loading branch information
unknownbrackets authored Mar 12, 2019
2 parents 624587c + 60e32e9 commit 05ad393
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Core/HLE/sceCtrl.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

// Copyright (c) 2012- PPSSPP Project.

// This program is free software: you can redistribute it and/or modify
Expand Down Expand Up @@ -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;
}
}

Expand Down

0 comments on commit 05ad393

Please sign in to comment.