diff --git a/src/BizHawk.Client.Common/cheats/GameSharkDecoder.cs b/src/BizHawk.Client.Common/cheats/GameSharkDecoder.cs index fb7f310e19..ea426ba55b 100644 --- a/src/BizHawk.Client.Common/cheats/GameSharkDecoder.cs +++ b/src/BizHawk.Client.Common/cheats/GameSharkDecoder.cs @@ -33,9 +33,7 @@ namespace BizHawk.Client.Common.cheats public MemoryDomain CheatDomain() { var domain = CheatDomainName(); - return CheatDomainName() == null - ? _domains.SystemBus - : _domains[domain]!; + return domain is null ? _domains.SystemBus : _domains[domain]!; } private string CheatDomainName() => _systemId switch