Skip to content

Commit

Permalink
Merge pull request #12093 from Hark64/exportWiiSaveErrorFix
Browse files Browse the repository at this point in the history
Disable Wii Save Options When Emulation Is Running
  • Loading branch information
AdmiralCurtiss committed Aug 12, 2023
2 parents dfbc0e3 + 783ff26 commit bc47a28
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Source/Core/DolphinQt/GameList/GameList.cpp
Expand Up @@ -467,8 +467,14 @@ void GameList::ShowContextMenu(const QPoint&)
if (!is_mod_descriptor &&
(platform == DiscIO::Platform::WiiWAD || platform == DiscIO::Platform::WiiDisc))
{
menu->addAction(tr("Open Wii &Save Folder"), this, &GameList::OpenWiiSaveFolder);
menu->addAction(tr("Export Wii Save"), this, &GameList::ExportWiiSave);
QAction* open_wii_save_folder =
menu->addAction(tr("Open Wii &Save Folder"), this, &GameList::OpenWiiSaveFolder);
QAction* export_wii_save =
menu->addAction(tr("Export Wii Save"), this, &GameList::ExportWiiSave);

open_wii_save_folder->setEnabled(!Core::IsRunning());
export_wii_save->setEnabled(!Core::IsRunning());

menu->addSeparator();
}

Expand Down

0 comments on commit bc47a28

Please sign in to comment.