mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2025-01-12 00:09:11 +01:00
Minor tweak
This commit is contained in:
parent
c228b4348c
commit
895539c787
@ -752,13 +752,9 @@ namespace DS4Windows
|
|||||||
//Array.Copy(btInputReport, 2, inputReport, 0, inputReport.Length);
|
//Array.Copy(btInputReport, 2, inputReport, 0, inputReport.Length);
|
||||||
fixed (byte* byteP = &btInputReport[2], imp = inputReport)
|
fixed (byte* byteP = &btInputReport[2], imp = inputReport)
|
||||||
{
|
{
|
||||||
byte* btImp = byteP;
|
|
||||||
byte* finImp = imp;
|
|
||||||
for (int j = 0; j < BT_INPUT_REPORT_LENGTH-2;j++)
|
for (int j = 0; j < BT_INPUT_REPORT_LENGTH-2;j++)
|
||||||
{
|
{
|
||||||
finImp[j] = btImp[j];
|
imp[j] = byteP[j];
|
||||||
//*finImp = *btImp;
|
|
||||||
//btImp++; finImp++;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user