Merge pull request #6095 from JosJuice/disable-eject-disc
Disable "Eject Disc" when emulation is not running
This commit is contained in:
commit
63b11be27a
|
@ -1600,6 +1600,7 @@ void CFrame::UpdateGUI()
|
|||
GetMenuBar()->FindItem(IDM_SAVE_STATE)->Enable(Initialized);
|
||||
// Misc
|
||||
GetMenuBar()->FindItem(IDM_CHANGE_DISC)->Enable(Initialized);
|
||||
GetMenuBar()->FindItem(IDM_EJECT_DISC)->Enable(Initialized);
|
||||
GetMenuBar()
|
||||
->FindItem(IDM_LOAD_GC_IPL_JAP)
|
||||
->Enable(!Initialized && File::Exists(SConfig::GetInstance().GetBootROMPath(JAP_DIR)));
|
||||
|
|
Loading…
Reference in New Issue