summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorMat M <mathew1800@gmail.com>2017-05-06 19:38:07 -0400
committerGitHub <noreply@github.com>2017-05-06 19:38:07 -0400
commitef4a1f0ec7dd574a58d4737c112fc2584cd2a7fe (patch)
treea1d61931f758a3ccfce4d5bce3649fc2d0a528ff /Source/Core
parent4ba786a1645621238931246f97bc9ebc241c86c3 (diff)
parent6426ea2b1ae8e98ed1dc52cc40345609073bdb09 (diff)
Merge pull request #5384 from leoetlino/disable
WX: Disable NAND import when emulation is running
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinWX/MainMenuBar.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/MainMenuBar.cpp b/Source/Core/DolphinWX/MainMenuBar.cpp
index f5cae338ab..c29cbbbef4 100644
--- a/Source/Core/DolphinWX/MainMenuBar.cpp
+++ b/Source/Core/DolphinWX/MainMenuBar.cpp
@@ -560,8 +560,11 @@ void MainMenuBar::RefreshWiiToolsLabels() const
// For similar reasons, it should not be possible to export or import saves, because this can
// result in the emulated software being confused, or even worse, exported saves having
// inconsistent data.
- for (const int index : {IDM_MENU_INSTALL_WAD, IDM_EXPORT_ALL_SAVE, IDM_IMPORT_SAVE})
+ for (const int index : {IDM_MENU_INSTALL_WAD, IDM_EXPORT_ALL_SAVE, IDM_IMPORT_SAVE,
+ IDM_IMPORT_NAND, IDM_EXTRACT_CERTIFICATES})
+ {
FindItem(index)->Enable(!Core::IsRunning() || !SConfig::GetInstance().bWii);
+ }
}
void MainMenuBar::RefreshWiiSystemMenuLabel() const