Make Close ROM menu item enabled only if Global Emulator is not a Null Emulator

This commit is contained in:
andres.delikat 2011-01-17 04:24:05 +00:00
parent 9f715e5f5a
commit 8a2307feb4
1 changed files with 5 additions and 0 deletions

View File

@ -595,6 +595,11 @@ namespace BizHawk.MultiClient
private void fileToolStripMenuItem_DropDownOpened(object sender, EventArgs e)
{
if (Global.Emulator is NullEmulator)
closeROMToolStripMenuItem.Enabled = false;
else
closeROMToolStripMenuItem.Enabled = true;
if (AutoLoadMostRecentRom == true)
autoloadMostRecentToolStripMenuItem.Checked = true;
else