mirror of
https://github.com/libretro/pcsx2.git
synced 2024-11-30 21:00:42 +00:00
LilyPad: Remove useless self assignment
CID 146888 (#1 of 1): Self assignment (NO_EFFECT)self_assign: Assignment operation (this->devices[i]->virtualControls + j).uid = (this->devices[i]->virtualControls + j).uid has no effect.
This commit is contained in:
parent
7e5bca3dfd
commit
dc874a99cd
@ -433,7 +433,6 @@ Device *InputDeviceManager::GetActiveDevice(InitInfo *info, unsigned int *uid, i
|
||||
(devices[i]->oldVirtualControlState[j] > 31*FULLY_DOWN/32 && devices[i]->virtualControlState[j] < 7*FULLY_DOWN/8))) {
|
||||
continue;
|
||||
}
|
||||
devices[i]->virtualControls[j].uid = devices[i]->virtualControls[j].uid;
|
||||
}
|
||||
else if ((((devices[i]->virtualControls[j].uid>>16)&0xFF) == ABSAXIS)) {
|
||||
if (devices[i]->oldVirtualControlState[j] > 15*FULLY_DOWN/16)
|
||||
|
Loading…
Reference in New Issue
Block a user