mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-29 20:44:20 +01:00
Changed method name to specify ViGEmBus
This commit is contained in:
parent
1c671e694f
commit
575f157420
@ -340,7 +340,7 @@ namespace DS4Windows
|
||||
return CheckForSysDevice(@"Root\HidGuardian");
|
||||
}
|
||||
|
||||
public static bool IsScpVBusInstalled()
|
||||
public static bool IsViGEmBusInstalled()
|
||||
{
|
||||
return CheckForSysDevice(@"Root\ViGEmBus");
|
||||
}
|
||||
|
@ -769,7 +769,7 @@ namespace DS4Windows
|
||||
{
|
||||
originalsettingstext = tabSettings.Text;
|
||||
bool deriverinstalled = false;
|
||||
deriverinstalled = Global.IsScpVBusInstalled();
|
||||
deriverinstalled = Global.IsViGEmBusInstalled();
|
||||
if (!deriverinstalled)
|
||||
{
|
||||
Process p = new Process();
|
||||
|
@ -84,7 +84,7 @@ namespace DS4Windows
|
||||
Process[] processes = Process.GetProcessesByName("ViGEmBusInstaller");
|
||||
if (processes.Length < 1)
|
||||
{
|
||||
if (Global.IsScpVBusInstalled())
|
||||
if (Global.IsViGEmBusInstalled())
|
||||
{
|
||||
this.BeginInvoke((Action)(() => { bnStep1.Text = Properties.Resources.InstallComplete; }));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user