Hardware/CPU/AMD0FCPU.cs
changeset 238 bddc6e01840a
parent 236 763675f19ff4
child 272 037a2d66082f
     1.1 --- a/Hardware/CPU/AMD0FCPU.cs	Mon Nov 01 20:44:21 2010 +0000
     1.2 +++ b/Hardware/CPU/AMD0FCPU.cs	Wed Nov 03 22:07:46 2010 +0000
     1.3 @@ -146,7 +146,7 @@
     1.4  
     1.5            uint eax, edx;
     1.6            if (Ring0.RdmsrTx(FIDVID_STATUS, out eax, out edx,
     1.7 -            (UIntPtr)(1L << cpuid[i][0].Thread))) {
     1.8 +            1UL << cpuid[i][0].Thread)) {
     1.9              // CurrFID can be found in eax bits 0-5, MaxFID in 16-21
    1.10              // 8-13 hold StartFID, we don't use that here.
    1.11              double curMP = 0.5 * ((eax & 0x3F) + 8);