From 5179a3379fa1b3101ecb4baf20a8527a390a900f Mon Sep 17 00:00:00 2001 From: scepheo Date: Sun, 14 Dec 2014 01:51:55 +0000 Subject: [PATCH] Fixed cheats not working. --- BizHawk.Client.Common/tools/Watch.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BizHawk.Client.Common/tools/Watch.cs b/BizHawk.Client.Common/tools/Watch.cs index 6365565c48..c2455890c2 100644 --- a/BizHawk.Client.Common/tools/Watch.cs +++ b/BizHawk.Client.Common/tools/Watch.cs @@ -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; } }