FDS: fix menu bug

This commit is contained in:
goyuken 2014-01-20 17:18:55 +00:00
parent bff34dd379
commit 9be3364db4
1 changed files with 2 additions and 2 deletions

View File

@ -1193,9 +1193,9 @@ namespace BizHawk.Client.EmuHawk
{
FdsEjectDiskMenuItem.Enabled = Global.Emulator.BoardName == "FDS";
for (int i = 1; i < FDSControlsMenuItem.DropDownItems.Count; i++)
while (FDSControlsMenuItem.DropDownItems.Count > 1)
{
FDSControlsMenuItem.DropDownItems.Remove(FDSControlsMenuItem.DropDownItems[i]);
FDSControlsMenuItem.DropDownItems.RemoveAt(1);
}
for (int i = 0; i < 16; i++)