Fixed cheats not working.
This commit is contained in:
parent
e6ea5bdf70
commit
5179a3379f
|
@ -621,9 +621,11 @@ namespace BizHawk.Client.Common
|
|||
if (Global.CheatList.Contains(Domain, _address))
|
||||
{
|
||||
var cheat = Global.CheatList.FirstOrDefault(c => c.Address == _address && c.Domain == Domain);
|
||||
|
||||
if (cheat != (Cheat)null)
|
||||
{
|
||||
cheat.PokeValue(val);
|
||||
PokeByte(val);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue