diff --git a/DS4Windows/DS4Library/DS4Device.cs b/DS4Windows/DS4Library/DS4Device.cs index 71b3800..2ac30f9 100644 --- a/DS4Windows/DS4Library/DS4Device.cs +++ b/DS4Windows/DS4Library/DS4Device.cs @@ -640,7 +640,7 @@ namespace DS4Windows Monitor.Wait(outReportBuffer); fixed (byte* byteR = outputReport, byteB = outReportBuffer) { - for (int i = 0, arlen = outputReport.Length; i < arlen; i++) + for (int i = 0, arlen = 13; i < arlen; i++) byteR[i] = byteB[i]; } //outReportBuffer.CopyTo(outputReport, 0); @@ -1166,9 +1166,10 @@ namespace DS4Windows if (usingBT) { Monitor.Enter(outputReport); - outReportBuffer.CopyTo(outputReport, 0); } + outReportBuffer.CopyTo(outputReport, 0); + try { if (!writeOutput())