This commit is contained in:
seerge
2023-02-22 19:30:58 +01:00
parent ccf4ae5126
commit 146150b1e7
3 changed files with 4 additions and 11 deletions

View File

@@ -146,7 +146,7 @@ public class ASUSWmi
byte[] args = new byte[8];
BitConverter.GetBytes((uint)DeviceID).CopyTo(args, 0);
byte[] status = CallMethod(DSTS, args);
return BitConverter.ToInt32(status, 0)-65536;
return BitConverter.ToInt32(status, 0) - 65536;
}
public byte[] DeviceGetBuffer(uint DeviceID, int Status = 0)