mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-31 18:11:31 +02:00
Merge pull request #5384 from leoetlino/disable
WX: Disable NAND import when emulation is running
This commit is contained in:
commit
ef4a1f0ec7
@ -560,8 +560,11 @@ void MainMenuBar::RefreshWiiToolsLabels() const
|
|||||||
// For similar reasons, it should not be possible to export or import saves, because this can
|
// 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
|
// result in the emulated software being confused, or even worse, exported saves having
|
||||||
// inconsistent data.
|
// 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);
|
FindItem(index)->Enable(!Core::IsRunning() || !SConfig::GetInstance().bWii);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainMenuBar::RefreshWiiSystemMenuLabel() const
|
void MainMenuBar::RefreshWiiSystemMenuLabel() const
|
||||||
|
Loading…
Reference in New Issue
Block a user