Skip to content
This repository was archived by the owner on Jan 1, 2024. It is now read-only.

Commit

Permalink
Fixed auto profile routine when a device does not exist for an input …
Browse files Browse the repository at this point in the history
…slot
  • Loading branch information
Ryochan7 committed Dec 28, 2023
1 parent 718b740 commit 5001129
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions DS4Windows/AutoProfileChecker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,8 @@ public void Process()
}
else
{
device.HaltReportingRunAction(() =>
{
Global.LoadTempProfile(j, tempname, true, Program.rootHub); // j is controller index, i is filename
Global.LoadTempProfile(j, tempname, true, Program.rootHub); // j is controller index, i is filename
// if (LaunchProgram[j] != string.Empty) Process.Start(LaunchProgram[j]);
});
}
}
else
Expand Down Expand Up @@ -195,10 +192,7 @@ public void Process()
}
else
{
device.HaltReportingRunAction(() =>
{
Global.LoadProfile(j, false, Program.rootHub);
});
Global.LoadProfile(j, false, Program.rootHub);
}
}
else
Expand Down

0 comments on commit 5001129

Please sign in to comment.