mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-12-24 15:41:49 +01:00
Added unchecked block
This commit is contained in:
parent
c3b4190b02
commit
f3c64143e2
@ -597,6 +597,8 @@ namespace DS4Windows
|
||||
if (clientsList.Count <= 0)
|
||||
return;
|
||||
|
||||
unchecked
|
||||
{
|
||||
byte[] outputData = new byte[100];
|
||||
int outIdx = BeginPacket(outputData, 1001);
|
||||
Array.Copy(BitConverter.GetBytes((uint)MessageType.DSUS_PadDataRsp), 0, outputData, outIdx, 4);
|
||||
@ -635,6 +637,8 @@ namespace DS4Windows
|
||||
try { udpSock.SendToAsync(args); }
|
||||
catch (SocketException ex) { }
|
||||
}
|
||||
}
|
||||
|
||||
clientsList.Clear();
|
||||
clientsList = null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user