DolphinQt: Turn of wii save options during emulation

This commit is contained in:
Harkaran Mann 2023-08-10 00:26:28 -07:00 committed by Admiral H. Curtiss
parent 44c90aa3fc
commit 783ff26edd
No known key found for this signature in database
GPG Key ID: F051B4C4044F33FB
1 changed files with 8 additions and 2 deletions

View File

@ -466,8 +466,14 @@ void GameList::ShowContextMenu(const QPoint&)
if (!is_mod_descriptor && if (!is_mod_descriptor &&
(platform == DiscIO::Platform::WiiWAD || platform == DiscIO::Platform::WiiDisc)) (platform == DiscIO::Platform::WiiWAD || platform == DiscIO::Platform::WiiDisc))
{ {
menu->addAction(tr("Open Wii &Save Folder"), this, &GameList::OpenWiiSaveFolder); QAction* open_wii_save_folder =
menu->addAction(tr("Export Wii Save"), this, &GameList::ExportWiiSave); 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(); menu->addSeparator();
} }