Skip to content
Permalink
Browse files
Merge pull request #6095 from JosJuice/disable-eject-disc
Disable "Eject Disc" when emulation is not running
  • Loading branch information
Helios747 committed Oct 3, 2017
2 parents 5a609d2 + e50fe00 commit 63b11be
Showing 1 changed file with 1 addition and 0 deletions.
@@ -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)));

0 comments on commit 63b11be

Please sign in to comment.