mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 16:19:28 +01:00
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…
x
Reference in New Issue
Block a user