diff --git a/DS4Windows/DS4Library/DS4Device.cs b/DS4Windows/DS4Library/DS4Device.cs index 023df85..368de7c 100644 --- a/DS4Windows/DS4Library/DS4Device.cs +++ b/DS4Windows/DS4Library/DS4Device.cs @@ -981,9 +981,9 @@ namespace DS4Windows { pbAccel[i-6] = pbInput[i]; } - } - fixed (byte* pGyro = gyro, pAccel = accel) sixAxis.handleSixaxis(pGyro, pAccel, cState, elapsedDeltaTime); + sixAxis.handleSixaxis(pbGyro, pbAccel, cState, elapsedDeltaTime); + } /* Debug output of incoming HID data: if (cState.L2 == 0xff && cState.R2 == 0xff)