From 8d680d79a5d70eebc42e8144a21968e03b75dca1 Mon Sep 17 00:00:00 2001 From: adelikat Date: Sat, 21 Dec 2013 17:18:08 +0000 Subject: [PATCH] Cheats - fix weird behavior caused by the Cheat changed event handler not being wired up on file load --- BizHawk.Client.Common/tools/CheatList.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/BizHawk.Client.Common/tools/CheatList.cs b/BizHawk.Client.Common/tools/CheatList.cs index 1e005efca7..c921f5d11b 100644 --- a/BizHawk.Client.Common/tools/CheatList.cs +++ b/BizHawk.Client.Common/tools/CheatList.cs @@ -374,8 +374,7 @@ namespace BizHawk.Client.Common BIGENDIAN ); - Cheat c = new Cheat(w, value, compare, !Global.Config.DisableCheatsOnLoad && ENABLED); - _cheatList.Add(c); + Add(new Cheat(w, value, compare, !Global.Config.DisableCheatsOnLoad && ENABLED)); } } catch