mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-23 01:39:17 +01:00
Added unchecked region
This commit is contained in:
parent
5b19dc76cd
commit
50109282f4
@ -1512,12 +1512,16 @@ namespace DS4Windows
|
||||
if (controlType == DS4StateFieldMapping.ControlType.AxisDir)
|
||||
//if (dcs.control > DS4Controls.None && dcs.control < DS4Controls.L1)
|
||||
{
|
||||
//int current = (int)dcs.control;
|
||||
//outputfieldMapping.axisdirs[current] = fieldMapping.axisdirs[current];
|
||||
customMapQueue[device].Enqueue(new ControlToXInput(dcs.control, dcs.control));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Queue<ControlToXInput> tempControl = customMapQueue[device];
|
||||
unchecked
|
||||
{
|
||||
for (int i = 0, len = tempControl.Count; i < len; i++)
|
||||
//while(tempControl.Any())
|
||||
{
|
||||
@ -1554,6 +1558,7 @@ namespace DS4Windows
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
outputfieldMapping.populateState(MappedState);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user