Fixed correct connector info

This commit is contained in:
Terry MacDonald 2021-06-17 20:10:14 +12:00
parent b1b0ae26f5
commit 854a359807

View File

@ -285,7 +285,7 @@ namespace DisplayMagicianShared.AMD
try try
{ {
ADL.ADLConnectionType connector = (ADL.ADLConnectionType)DisplayInfoData[j].DisplayConnector; ADL.ADLConnectionType connector = (ADL.ADLConnectionType)DisplayInfoData[j].DisplayOutputType;
displayInfoIdentifierSection.Add(connector.ToString("G")); displayInfoIdentifierSection.Add(connector.ToString("G"));
} }
catch (Exception ex) catch (Exception ex)
@ -535,8 +535,10 @@ namespace DisplayMagicianShared.AMD
try try
{ {
ADL.ADLConnectionType connector = (ADL.ADLConnectionType)DisplayInfoData[j].DisplayConnector; ADL.ADLConnectionType connector = (ADL.ADLConnectionType)DisplayInfoData[j].DisplayOutputType;
displayInfoIdentifierSection.Add(connector.ToString()); displayInfoIdentifierSection.Add(connector.ToString());
ADL.ADLConnectionType connector = (ADL.ADLConnectionType)DisplayInfoData[j].DisplayType;
} }
catch (Exception ex) catch (Exception ex)
{ {