mirror of https://github.com/PCSX2/pcsx2.git
lilypad: Fix Lock Direction/Input/Both features
Regression was introduced in 2ea078beb5
.
Coverity CID 178405.
This commit is contained in:
parent
056cbbcdcd
commit
854f3d5b85
|
@ -549,7 +549,7 @@ void Update(unsigned int port, unsigned int slot)
|
|||
int cmd = b->command;
|
||||
int state = dev->virtualControlState[b->controlIndex];
|
||||
if (!(rapidFire & b->rapidFire)) {
|
||||
if (cmd > 0x0F && cmd != 0x28) {
|
||||
if ((cmd > 0x0F && cmd < 0x2A && cmd != 0x28) || cmd > 0x2C) {
|
||||
ProcessButtonBinding(b, &s[port][slot], state);
|
||||
} else if ((state >> 15) && !(dev->oldVirtualControlState[b->controlIndex] >> 15)) {
|
||||
if (cmd == 0x0F) { // Mouse
|
||||
|
|
Loading…
Reference in New Issue