From f906178b5b364be2a802859078f0c3a50cf49f0a Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Fri, 20 Jul 2018 05:05:20 -0500 Subject: [PATCH] Removed extra fixed block. Moved method call --- DS4Windows/DS4Library/DS4Device.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)