Don't allows cheats dialog during null emulator

This commit is contained in:
adelikat 2013-10-04 22:23:18 +00:00
parent a32578eb42
commit 3a8411035b
1 changed files with 2 additions and 0 deletions

View File

@ -637,6 +637,8 @@ namespace BizHawk.MultiClient
traceLoggerToolStripMenuItem.ShortcutKeyDisplayString = Global.Config.HotkeyBindings["Trace Logger"].Bindings;
toolBoxToolStripMenuItem.Enabled = !ToolBox1.IsHandleCreated || ToolBox1.IsDisposed;
traceLoggerToolStripMenuItem.Enabled = Global.Emulator.CoreComm.CpuTraceAvailable;
cheatsToolStripMenuItem.Enabled = !(Global.Emulator is NullEmulator);
}
private void saveSlotToolStripMenuItem_DropDownOpened(object sender, EventArgs e)