Merge branch 'jay' into vigem-udpserver

This commit is contained in:
Travis Nickles 2018-07-18 01:35:39 -05:00
commit 70a4cd8989
2 changed files with 12 additions and 3 deletions

View File

@ -171,7 +171,16 @@ namespace DS4Windows
public void ScanPurgeHidGuard() public void ScanPurgeHidGuard()
{ {
RegistryKey tempkey = Registry.LocalMachine.OpenSubKey(@"SYSTEM\CurrentControlSet\Services\HidGuardian\Parameters\Whitelist"); RegistryKey tempkey = Registry.LocalMachine.OpenSubKey(@"SYSTEM\CurrentControlSet\Services\HidGuardian\Parameters\Whitelist");
string[] subkeys = tempkey.GetSubKeyNames(); string[] subkeys = null;
if (tempkey != null)
{
subkeys = tempkey.GetSubKeyNames();
}
else
{
subkeys = new string[0];
}
bool processExists = false; bool processExists = false;
for (int ind = 0, arlen = subkeys.Length; ind < arlen; ind++) for (int ind = 0, arlen = subkeys.Length; ind < arlen; ind++)
{ {

View File

@ -33,7 +33,7 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.4.121")] [assembly: AssemblyVersion("1.4.123")]
[assembly: AssemblyFileVersion("1.4.121")] [assembly: AssemblyFileVersion("1.4.123")]
[assembly: NeutralResourcesLanguage("en")] [assembly: NeutralResourcesLanguage("en")]