From f6eaeda6c992408fe2d06fad28ff4c56cede8305 Mon Sep 17 00:00:00 2001 From: "andres.delikat" Date: Sun, 20 Mar 2011 21:03:33 +0000 Subject: [PATCH] Fix loading of cheats window, do not load most recent file on autoload in this dialog's case, also fix bug in the function --- BizHawk.MultiClient/MainForm.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/BizHawk.MultiClient/MainForm.cs b/BizHawk.MultiClient/MainForm.cs index 41585ee668..dc0ba96d68 100644 --- a/BizHawk.MultiClient/MainForm.cs +++ b/BizHawk.MultiClient/MainForm.cs @@ -1041,12 +1041,10 @@ namespace BizHawk.MultiClient if (!Cheats1.IsHandleCreated || Cheats1.IsDisposed) { Cheats1 = new Cheats(); - if (Global.Config.AutoLoadCheats && Global.Config.RecentCheats.Length() > 0) - Cheats1.LoadCheatFromRecent(Global.Config.RecentCheats.GetRecentFileByPosition(0)); Cheats1.Show(); } else - NESPPU1.Focus(); + Cheats1.Focus(); } private int lastWidth = -1;