Added extra profile flag caching to load profile

This commit is contained in:
Travis Nickles 2020-03-30 23:08:13 -05:00
parent 23c38f4a3d
commit c0eff754c4

View File

@ -3901,8 +3901,7 @@ namespace DS4Windows
if (missingSetting && Loaded)// && buttons != null) if (missingSetting && Loaded)// && buttons != null)
SaveProfile(device, profilepath); SaveProfile(device, profilepath);
containsCustomAction[device] = HasCustomActions(device); Global.cacheProfileCustomsFlags(device);
containsCustomExtras[device] = HasCustomExtras(device);
if (device < 4 && control.touchPad[device] != null) if (device < 4 && control.touchPad[device] != null)
{ {