wired up Recent Roms click event

This commit is contained in:
beirich 2011-01-17 03:23:53 +00:00
parent 757d604784
commit 72ef291ac0
2 changed files with 7 additions and 2 deletions

View File

@ -8,4 +8,5 @@
======= Game Gear compatibility issues =======
* Outrun has raster effect on the wrong line. I've been able to modify interrupt code to
fix it, but so far, not without breaking other games.
fix it, but so far, not without breaking other games.
* GG Turrican homebrew not starting correctly

View File

@ -609,7 +609,11 @@ namespace BizHawk.MultiClient
{
for (int x = 0; x < RecentRoms.Length(); x++)
{
recentROMToolStripMenuItem.DropDownItems.Add(RecentRoms.GetRecentFileByPosition(x)); //TODO: truncate this to a nice size
string path = RecentRoms.GetRecentFileByPosition(x);
var item = new ToolStripMenuItem();
item.Text = path;
item.Click += (o, ev) => LoadRom(path);
recentROMToolStripMenuItem.DropDownItems.Add(item); //TODO: truncate this to a nice size
}
}
recentROMToolStripMenuItem.DropDownItems.Add("Clear");