mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-12-25 16:11:49 +01:00
parent
2b25e55611
commit
3074bc1b6e
@ -159,6 +159,7 @@ namespace DS4WinWPF
|
||||
}
|
||||
|
||||
SetUICulture(DS4Windows.Global.UseLang);
|
||||
DS4Windows.Global.LoadLinkedProfiles();
|
||||
DS4Forms.MainWindow window = new DS4Forms.MainWindow(parser);
|
||||
MainWindow = window;
|
||||
window.Show();
|
||||
|
@ -490,10 +490,12 @@ namespace DS4Windows
|
||||
if (device.isValidSerial() && containsLinkedProfile(device.getMacAddress()))
|
||||
{
|
||||
ProfilePath[i] = getLinkedProfile(device.getMacAddress());
|
||||
Global.linkedProfileCheck[i] = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
ProfilePath[i] = OlderProfilePath[i];
|
||||
Global.linkedProfileCheck[i] = false;
|
||||
}
|
||||
|
||||
LoadProfile(i, false, this, false, false);
|
||||
@ -764,10 +766,12 @@ namespace DS4Windows
|
||||
if (device.isValidSerial() && containsLinkedProfile(device.getMacAddress()))
|
||||
{
|
||||
ProfilePath[Index] = getLinkedProfile(device.getMacAddress());
|
||||
Global.linkedProfileCheck[Index] = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
ProfilePath[Index] = OlderProfilePath[Index];
|
||||
Global.linkedProfileCheck[Index] = false;
|
||||
}
|
||||
|
||||
LoadProfile(Index, false, this, false, false);
|
||||
@ -1280,6 +1284,7 @@ namespace DS4Windows
|
||||
inWarnMonitor[ind] = false;
|
||||
useDInputOnly[ind] = true;
|
||||
Global.activeOutDevType[ind] = OutContType.None;
|
||||
Global.linkedProfileCheck[ind] = false;
|
||||
/*uiContext?.Post(new SendOrPostCallback((state) =>
|
||||
{
|
||||
OnControllerRemoved(this, ind);
|
||||
|
Loading…
Reference in New Issue
Block a user