mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-30 04:54:20 +01:00
Do not launch program with profile twice for auto profiles
Related to issue #50.
This commit is contained in:
parent
4b0e3dee62
commit
95495c7585
@ -625,8 +625,8 @@ namespace DS4Windows
|
|||||||
{
|
{
|
||||||
if (proprofiles[j][i] != "(none)" && proprofiles[j][i] != Properties.Resources.noneProfile)
|
if (proprofiles[j][i] != "(none)" && proprofiles[j][i] != Properties.Resources.noneProfile)
|
||||||
{
|
{
|
||||||
LoadTempProfile(j, proprofiles[j][i], true, Program.rootHub); //j is controller index, i is filename
|
LoadTempProfile(j, proprofiles[j][i], true, Program.rootHub); // j is controller index, i is filename
|
||||||
if (LaunchProgram[j] != string.Empty) Process.Start(LaunchProgram[j]);
|
//if (LaunchProgram[j] != string.Empty) Process.Start(LaunchProgram[j]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user