fix hid:GetGyroscopeRawToDpsCoefficient

This commit is contained in:
wwylele 2016-03-18 22:52:16 +02:00
parent 5b7468e5cf
commit a5b7c58c69

View File

@ -286,7 +286,7 @@ Result HIDUSER_GetGyroscopeRawToDpsCoefficient(float *coeff)
Result ret=0; Result ret=0;
if(R_FAILED(ret=svcSendSyncRequest(hidHandle)))return ret; if(R_FAILED(ret=svcSendSyncRequest(hidHandle)))return ret;
*coeff = (float)cmdbuf[2]; *coeff = *(float*)(cmdbuf+2);
return cmdbuf[1]; return cmdbuf[1];
} }