From 683aa263a0ccdc8a4747fbb4ef359842b52c9a26 Mon Sep 17 00:00:00 2001 From: YoshiRulz Date: Wed, 23 Nov 2022 15:14:31 +1000 Subject: [PATCH] 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 --- .../Base Implementations/ControllerDefinition.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/BizHawk.Emulation.Common/Base Implementations/ControllerDefinition.cs b/src/BizHawk.Emulation.Common/Base Implementations/ControllerDefinition.cs index 5e903ec711..8e14326c07 100644 --- a/src/BizHawk.Emulation.Common/Base Implementations/ControllerDefinition.cs +++ b/src/BizHawk.Emulation.Common/Base Implementations/ControllerDefinition.cs @@ -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(); }