Hardware/ATI/ATIGroup.cs
changeset 333 c34cbcc7df66
parent 270 ef89cbe45b7c
child 344 3145aadca3d2
     1.1 --- a/Hardware/ATI/ATIGroup.cs	Sun Jan 15 14:05:52 2012 +0000
     1.2 +++ b/Hardware/ATI/ATIGroup.cs	Sun Jan 15 15:07:23 2012 +0000
     1.3 @@ -16,7 +16,7 @@
     1.4  
     1.5    The Initial Developer of the Original Code is 
     1.6    Michael Möller <m.moeller@gmx.ch>.
     1.7 -  Portions created by the Initial Developer are Copyright (C) 2009-2010
     1.8 +  Portions created by the Initial Developer are Copyright (C) 2009-2012
     1.9    the Initial Developer. All Rights Reserved.
    1.10  
    1.11    Contributor(s):
    1.12 @@ -87,8 +87,8 @@
    1.13                  report.Append("Present: ");
    1.14                  report.AppendLine(adapterInfo[i].Present.ToString(
    1.15                    CultureInfo.InvariantCulture));
    1.16 -                report.Append("VendorID: ");
    1.17 -                report.AppendLine(adapterInfo[i].VendorID.ToString(
    1.18 +                report.Append("VendorID: 0x");
    1.19 +                report.AppendLine(adapterInfo[i].VendorID.ToString("X",
    1.20                    CultureInfo.InvariantCulture));
    1.21                  report.Append("BusNumber: ");
    1.22                  report.AppendLine(adapterInfo[i].BusNumber.ToString(
    1.23 @@ -104,8 +104,8 @@
    1.24                    CultureInfo.InvariantCulture));
    1.25  
    1.26                  if (!string.IsNullOrEmpty(adapterInfo[i].UDID) &&
    1.27 -                  (adapterInfo[i].VendorID == ADL.ATI_VENDOR_ID1 ||
    1.28 -                   adapterInfo[i].VendorID == ADL.ATI_VENDOR_ID2)) {
    1.29 +                  adapterInfo[i].VendorID == ADL.ATI_VENDOR_ID) 
    1.30 +                {
    1.31                    bool found = false;
    1.32                    foreach (ATIGPU gpu in hardware)
    1.33                      if (gpu.BusNumber == adapterInfo[i].BusNumber &&