Revert "Removed extra fixed block. Moved method call"

This reverts commit f906178b5b.
This commit is contained in:
Travis Nickles 2018-07-22 01:22:42 -05:00
parent bd3d5315d5
commit e6ac109616

View File

@ -981,10 +981,10 @@ namespace DS4Windows
{ {
pbAccel[i-6] = pbInput[i]; pbAccel[i-6] = pbInput[i];
} }
sixAxis.handleSixaxis(pbGyro, pbAccel, cState, elapsedDeltaTime);
} }
fixed (byte* pGyro = gyro, pAccel = accel) sixAxis.handleSixaxis(pGyro, pAccel, cState, elapsedDeltaTime);
/* Debug output of incoming HID data: /* Debug output of incoming HID data:
if (cState.L2 == 0xff && cState.R2 == 0xff) if (cState.L2 == 0xff && cState.R2 == 0xff)
{ {