Commit b0787e07c88cc5ae9a5a23bbcc004e180e4a24a5

Con Kolivas 2012-02-13T10:47:05

Logic fail on engine multiplier.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/adl.c b/adl.c
index b651dba..ef4c518 100644
--- a/adl.c
+++ b/adl.c
@@ -1032,7 +1032,7 @@ void gpu_autotune(int gpu, bool *enable)
 	unlock_adl();
 
 	newengine = engine = gpu_engineclock(gpu) * 100;
-	levengine = lpOdPerformanceLevels->aLevels[lev].iEngineClock * 100;
+	levengine = lpOdPerformanceLevels->aLevels[lev].iEngineClock / 100;
 
 	if (temp && fanpercent >= 0 && ga->autofan) {
 		if (!ga->twin)