trim cheat lines, since it's virtually impossible to copy text from a web browser without getting junk around it

This commit is contained in:
zeromus 2023-06-30 19:42:28 -04:00
parent 89fc9c940d
commit fe47285394
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ namespace BizHawk.Client.EmuHawk
{
try
{
var code = l.ToUpper();
var code = l.ToUpper().Trim();
var decoder = new GameSharkDecoder(MemoryDomains, Emulator.SystemId);
var result = decoder.Decode(code);
var domain = decoder.CheatDomain();