Cheat Code Converter - when creating NES game genie codes with a compare value, set comparison type to Equals, instead of relying on "None" to default to Equals

This commit is contained in:
adelikat 2017-07-28 18:13:32 -05:00
parent 29191a5468
commit 89b57288e7
1 changed files with 1 additions and 1 deletions

View File

@ -2808,7 +2808,7 @@ namespace BizHawk.Client.EmuHawk
} }
if (strCompare != "00") if (strCompare != "00")
{ {
Global.CheatList.Add(new Cheat(watch, int.Parse(RAMValue, NumberStyles.HexNumber), int.Parse(strCompare, NumberStyles.HexNumber))); Global.CheatList.Add(new Cheat(watch, int.Parse(RAMValue, NumberStyles.HexNumber), int.Parse(strCompare, NumberStyles.HexNumber), true, Cheat.CompareType.Equal));
} }
//Global.CheatList.Add(new Cheat(watch, int.Parse(RAMValue, NumberStyles.HexNumber), ) //Global.CheatList.Add(new Cheat(watch, int.Parse(RAMValue, NumberStyles.HexNumber), )
} }