From 5cb2fe6daf1cf78d223a0dcd01067b65b02523e0 Mon Sep 17 00:00:00 2001 From: "sl1nk3.s" Date: Wed, 15 Apr 2009 22:25:07 +0000 Subject: [PATCH] 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 --- Source/Core/DolphinWX/Src/FrameTools.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Core/DolphinWX/Src/FrameTools.cpp b/Source/Core/DolphinWX/Src/FrameTools.cpp index 98b8c2668c..e1ad9aafe1 100644 --- a/Source/Core/DolphinWX/Src/FrameTools.cpp +++ b/Source/Core/DolphinWX/Src/FrameTools.cpp @@ -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) {