fix hid:GetGyroscopeRawToDpsCoefficient
This commit is contained in:
parent
5b7468e5cf
commit
a5b7c58c69
@ -286,7 +286,7 @@ Result HIDUSER_GetGyroscopeRawToDpsCoefficient(float *coeff)
|
||||
Result ret=0;
|
||||
if(R_FAILED(ret=svcSendSyncRequest(hidHandle)))return ret;
|
||||
|
||||
*coeff = (float)cmdbuf[2];
|
||||
*coeff = *(float*)(cmdbuf+2);
|
||||
|
||||
return cmdbuf[1];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user