Browse Source

Bugfix: When changing GPU memclock, adjust internal variable so it is correctly saved to config file

Luke Dashjr 13 years ago
parent
commit
3bb3fdac08
1 changed files with 2 additions and 0 deletions
  1. 2 0
      adl.c

+ 2 - 0
adl.c

@@ -379,6 +379,8 @@ static int set_memoryclock(int gpu, int iMemoryClock)
 		return 1;
 	}
 
+	gpus[gpu].gpu_memclock = iMemoryClock;
+
 	iMemoryClock *= 100;
 	ga = &gpus[gpu].adl;
 	if (iMemoryClock > ga->lpOdParameters.sMemoryClock.iMax ||