Include `ControllerDefinition._orderedControls` in clone ctor

I don't think this is used, but as the caching was new in 2.8, going to include
this just in case
This commit is contained in:
YoshiRulz 2022-11-23 15:14:31 +10:00
parent 52acda9a02
commit 683aa263a0
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 1 additions and 0 deletions

View File

@ -51,6 +51,7 @@ namespace BizHawk.Emulation.Common
foreach (var kvp in copyFrom.Axes) Axes.Add(kvp);
HapticsChannels.AddRange(copyFrom.HapticsChannels);
CategoryLabels = copyFrom.CategoryLabels;
_orderedControls = copyFrom._orderedControls;
MakeImmutable();
}