From a6cc7b85dd97330f65a93aabcb3ab8d0cb464b51 Mon Sep 17 00:00:00 2001 From: kevinlekiller Date: Sun, 29 Aug 2021 08:47:57 -0400 Subject: [PATCH] Some 16h CPU's have double the refclk speed #14 Closes #14 --- amdctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amdctl.c b/amdctl.c index eccd5e1..5163010 100644 --- a/amdctl.c +++ b/amdctl.c @@ -342,7 +342,7 @@ void northBridge(const int nvid) { nbpstate, nbvid, vidTomV(nbvid), - (REFCLK * (nbdid + 0x4) / pow(2, nbfid)) + (((cpuModel >= 0x00 && cpuModel <= 0x0f) ? REFCLK * 2 : REFCLK) * (nbdid + 0x4) / pow(2, nbfid)) ); } break;