Use watts as double to have more fine grained control

This commit is contained in:
IceStormNG
2024-03-01 18:55:50 +01:00
parent 2aebf3044d
commit 8cd256463a
4 changed files with 7 additions and 7 deletions

View File

@@ -36,7 +36,7 @@ namespace GHelper.AutoTDP.PowerLimiter
PowerUnit = 1 / Math.Pow(2, pwr);
}
public void SetCPUPowerLimit(int watts)
public void SetCPUPowerLimit(double watts)
{
uint eax = 0;
uint edx = 0;