# HG changeset patch # User moel.mich # Date 1302911527 0 # Node ID ef89cbe45b7cadf403f677180baa7bee204cb456 # Parent 38cd90779aade6d33624b71624b645ecdf52e94d Fixed Issue 111. diff -r 38cd90779aad -r ef89cbe45b7c Hardware/ATI/ATIGPU.cs --- a/Hardware/ATI/ATIGPU.cs Mon Apr 11 22:38:39 2011 +0000 +++ b/Hardware/ATI/ATIGPU.cs Fri Apr 15 23:52:07 2011 +0000 @@ -187,16 +187,22 @@ if (adlp.EngineClock > 0) { coreClock.Value = 0.01f * adlp.EngineClock; ActivateSensor(coreClock); + } else { + coreClock.Value = null; } if (adlp.MemoryClock > 0) { memoryClock.Value = 0.01f * adlp.MemoryClock; ActivateSensor(memoryClock); + } else { + memoryClock.Value = null; } if (adlp.Vddc > 0) { coreVoltage.Value = 0.001f * adlp.Vddc; ActivateSensor(coreVoltage); + } else { + coreVoltage.Value = null; } coreLoad.Value = Math.Min(adlp.ActivityPercent, 100); diff -r 38cd90779aad -r ef89cbe45b7c Hardware/ATI/ATIGroup.cs --- a/Hardware/ATI/ATIGroup.cs Mon Apr 11 22:38:39 2011 +0000 +++ b/Hardware/ATI/ATIGroup.cs Fri Apr 15 23:52:07 2011 +0000 @@ -100,9 +100,10 @@ report.AppendLine(adapterInfo[i].FunctionNumber.ToString( CultureInfo.InvariantCulture)); report.Append("AdapterID: 0x"); - report.AppendLine(adapterID.ToString("X", CultureInfo.InvariantCulture)); + report.AppendLine(adapterID.ToString("X", + CultureInfo.InvariantCulture)); - if (adapterID != 0 && !string.IsNullOrEmpty(adapterInfo[i].UDID) && + if (!string.IsNullOrEmpty(adapterInfo[i].UDID) && (adapterInfo[i].VendorID == ADL.ATI_VENDOR_ID1 || adapterInfo[i].VendorID == ADL.ATI_VENDOR_ID2)) { bool found = false; diff -r 38cd90779aad -r ef89cbe45b7c Properties/AssemblyVersion.cs --- a/Properties/AssemblyVersion.cs Mon Apr 11 22:38:39 2011 +0000 +++ b/Properties/AssemblyVersion.cs Fri Apr 15 23:52:07 2011 +0000 @@ -37,5 +37,5 @@ using System.Reflection; -[assembly: AssemblyVersion("0.2.1.17")] -[assembly: AssemblyInformationalVersion("0.2.1.17 Alpha")] \ No newline at end of file +[assembly: AssemblyVersion("0.2.1.18")] +[assembly: AssemblyInformationalVersion("0.2.1.18 Alpha")] \ No newline at end of file