mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-12-25 16:11:49 +01:00
Removed unnecessary array copy for USB and SONYWA connections
This commit is contained in:
parent
32605524ff
commit
e3ed777682
@ -1186,10 +1186,9 @@ namespace DS4Windows
|
|||||||
if (usingBT)
|
if (usingBT)
|
||||||
{
|
{
|
||||||
Monitor.Enter(outputReport);
|
Monitor.Enter(outputReport);
|
||||||
|
outReportBuffer.CopyTo(outputReport, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
outReportBuffer.CopyTo(outputReport, 0);
|
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if (!writeOutput())
|
if (!writeOutput())
|
||||||
|
Loading…
Reference in New Issue
Block a user