mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2025-01-11 15:59:08 +01:00
Rid another unnecessary state copy call.
This commit is contained in:
parent
473958ba1a
commit
7f75565aec
@ -1989,7 +1989,7 @@ namespace DS4Windows
|
||||
DS4Device d = ctrl.DS4Controllers[device];
|
||||
//cus
|
||||
|
||||
DS4State tempPrevState = d.getPreviousState();
|
||||
DS4State tempPrevState = d.getPreviousStateRef();
|
||||
// Only create one instance of previous DS4StateFieldMapping in case more than one multi-action
|
||||
// button is assigned
|
||||
if (previousFieldMapping == null)
|
||||
|
Loading…
x
Reference in New Issue
Block a user