Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

Commit

Permalink
Merge pull request #1059 from Quake4/FixVideoCtrl
Browse files Browse the repository at this point in the history
[master] App crash
  • Loading branch information
S74nk0 committed Jun 19, 2017
2 parents 2b0a16a + cf3ea76 commit fd3f7d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NiceHashMiner/Devices/ComputeDeviceManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ public static void QueryVideoControllers() {
StringBuilder stringBuilder = new StringBuilder();
stringBuilder.AppendLine("");
stringBuilder.AppendLine("QueryVideoControllers: ");
ManagementObjectCollection moc = new ManagementObjectSearcher("root\\CIMV2", "SELECT * FROM Win32_VideoController WHERE PNPDeviceID LIKE 'PCI\\%'").Get();
ManagementObjectCollection moc = new ManagementObjectSearcher("root\\CIMV2", "SELECT * FROM Win32_VideoController WHERE PNPDeviceID LIKE 'PCI%'").Get();
bool allVideoContollersOK = true;
foreach (var manObj in moc) {
ulong memTmp = 0;
Expand Down

0 comments on commit fd3f7d1

Please sign in to comment.