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