Recent Files: Fixed display of roms with & character in their name
This commit is contained in:
parent
9805ca4a61
commit
767d4bf9a4
1 changed files with 1 additions and 1 deletions
|
@ -637,7 +637,7 @@ namespace Mesen.GUI.Forms
|
|||
mnuRecentFiles.DropDownItems.Clear();
|
||||
foreach(RecentItem recentItem in ConfigManager.Config.RecentFiles) {
|
||||
ToolStripMenuItem tsmi = new ToolStripMenuItem();
|
||||
tsmi.Text = recentItem.RomName;
|
||||
tsmi.Text = recentItem.RomName.Replace("&", "&&");
|
||||
tsmi.Click += (object sender, EventArgs args) => {
|
||||
LoadROM(recentItem.Path, ConfigManager.Config.PreferenceInfo.AutoLoadIpsPatches, recentItem.ArchiveFileIndex);
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue