From c6807458104f42c88aecc12bc3877a7d8ab4c020 Mon Sep 17 00:00:00 2001 From: "andres.delikat" Date: Tue, 18 Jan 2011 02:34:38 +0000 Subject: [PATCH] Move RecentROMs call to inside LoadRom() so that drag & drop and any other types of file loading will save to recents --- BizHawk.MultiClient/MainForm.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/BizHawk.MultiClient/MainForm.cs b/BizHawk.MultiClient/MainForm.cs index d2968e259e..d90495f189 100644 --- a/BizHawk.MultiClient/MainForm.cs +++ b/BizHawk.MultiClient/MainForm.cs @@ -198,7 +198,7 @@ namespace BizHawk.MultiClient Global.Emulator.LoadGame(game); Text = game.Name; ResetRewindBuffer(); - + RecentRoms.Add(file.FullName); if (File.Exists(game.SaveRamPath)) LoadSaveRam(); } @@ -360,7 +360,6 @@ namespace BizHawk.MultiClient var file = new FileInfo(ofd.FileName); Global.Config.LastRomPath = file.DirectoryName; LoadRom(file.FullName); - RecentRoms.Add(file.FullName); } private void savestate1toolStripMenuItem_Click(object sender, EventArgs e) { SaveState("QuickSave1"); }