quick crash fix if there's no nand dump.. woops..

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2976 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
sl1nk3.s 2009-04-15 22:25:07 +00:00
parent 99e29c82fd
commit 5cb2fe6daf
1 changed files with 2 additions and 1 deletions

View File

@ -837,7 +837,8 @@ void CFrame::UpdateGUI()
// Misc
m_pMenuChangeDisc->Enable(initialized);
m_pMenuBootWii->Enable(!initialized);
if (DiscIO::CNANDContentManager::Access().GetNANDLoader(FULL_WII_MENU_DIR).IsValid())
m_pMenuBootWii->Enable(!initialized);
if (running)
{