From 70b640240eecf950219c433ae3c3a873f91229b4 Mon Sep 17 00:00:00 2001 From: YoshiRulz Date: Fri, 16 Aug 2024 21:09:38 +1000 Subject: [PATCH] Simplify boolean comparison this was getting flagged in CI but not on my machine --- src/BizHawk.Emulation.Cores/Consoles/Nintendo/GBA/MGBAHawk.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BizHawk.Emulation.Cores/Consoles/Nintendo/GBA/MGBAHawk.cs b/src/BizHawk.Emulation.Cores/Consoles/Nintendo/GBA/MGBAHawk.cs index 1bc5274041..2936b94c6c 100644 --- a/src/BizHawk.Emulation.Cores/Consoles/Nintendo/GBA/MGBAHawk.cs +++ b/src/BizHawk.Emulation.Cores/Consoles/Nintendo/GBA/MGBAHawk.cs @@ -130,7 +130,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBA ret.Hardware |= LibmGBA.Hardware.Tilt; } - if (syncSettings.OverrideGbPlayerDetect is true) + if (syncSettings.OverrideGbPlayerDetect) { ret.Hardware |= LibmGBA.Hardware.GbPlayerDetect; }