Re-add Debug haptics channel to all cores, but only in Debug config

This commit is contained in:
YoshiRulz 2021-04-01 09:18:16 +10:00
parent cb88e98f39
commit ad1659eb68
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 6 additions and 1 deletions

View File

@ -10,7 +10,12 @@ namespace BizHawk.Emulation.Common
/// <seealso cref="IEmulator" />
public class ControllerDefinition
{
public ControllerDefinition() {}
public ControllerDefinition()
{
#if DEBUG
HapticsChannels.Add("Debug");
#endif
}
public ControllerDefinition(ControllerDefinition source)
: this()