mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-23 09:49:16 +01:00
Merge branch 'jay' into vigem-udpserver
This commit is contained in:
commit
70a4cd8989
@ -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++)
|
||||||
{
|
{
|
||||||
|
@ -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")]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user