MainForm - File Menu - disable savestate related submenus if core does not implement IStatable
This commit is contained in:
parent
bdccb6d400
commit
65249ad0f9
|
@ -29,6 +29,11 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
private void FileSubMenu_DropDownOpened(object sender, EventArgs e)
|
||||
{
|
||||
SaveStateSubMenu.Enabled =
|
||||
LoadStateSubMenu.Enabled =
|
||||
SaveSlotSubMenu.Enabled =
|
||||
Global.Emulator.HasSavestates();
|
||||
|
||||
OpenRomMenuItem.ShortcutKeyDisplayString = Global.Config.HotkeyBindings["Open ROM"].Bindings;
|
||||
CloseRomMenuItem.ShortcutKeyDisplayString = Global.Config.HotkeyBindings["Close ROM"].Bindings;
|
||||
|
||||
|
|
Loading…
Reference in New Issue