From ad1659eb68ab43cb752b440a4c11e27f50424aa4 Mon Sep 17 00:00:00 2001 From: YoshiRulz Date: Thu, 1 Apr 2021 09:18:16 +1000 Subject: [PATCH] Re-add Debug haptics channel to all cores, but only in Debug config --- .../Base Implementations/ControllerDefinition.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/BizHawk.Emulation.Common/Base Implementations/ControllerDefinition.cs b/src/BizHawk.Emulation.Common/Base Implementations/ControllerDefinition.cs index 00c77926d6..e4c6ab2d18 100644 --- a/src/BizHawk.Emulation.Common/Base Implementations/ControllerDefinition.cs +++ b/src/BizHawk.Emulation.Common/Base Implementations/ControllerDefinition.cs @@ -10,7 +10,12 @@ namespace BizHawk.Emulation.Common /// public class ControllerDefinition { - public ControllerDefinition() {} + public ControllerDefinition() + { +#if DEBUG + HapticsChannels.Add("Debug"); +#endif + } public ControllerDefinition(ControllerDefinition source) : this()