Move RecentROMs call to inside LoadRom() so that drag & drop and any other types of file loading will save to recents

This commit is contained in:
andres.delikat 2011-01-18 02:34:38 +00:00
parent 75e412c69d
commit c680745810
1 changed files with 1 additions and 2 deletions

View File

@ -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"); }