mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
NANDImporter: Make a class variable for the NAND root
This commit is contained in:
parent
ea116fbbdf
commit
643057fea2
4 changed files with 20 additions and 22 deletions
|
@ -30,12 +30,12 @@ static void ShowResult(QWidget* parent, WiiUtils::UpdateResult result)
|
|||
case WiiUtils::UpdateResult::Succeeded:
|
||||
ModalMessageBox::information(parent, QObject::tr("Update completed"),
|
||||
QObject::tr("The emulated Wii console has been updated."));
|
||||
DiscIO::NANDImporter().ExtractCertificates(File::GetUserPath(D_WIIROOT_IDX));
|
||||
DiscIO::NANDImporter().ExtractCertificates();
|
||||
break;
|
||||
case WiiUtils::UpdateResult::AlreadyUpToDate:
|
||||
ModalMessageBox::information(parent, QObject::tr("Update completed"),
|
||||
QObject::tr("The emulated Wii console is already up-to-date."));
|
||||
DiscIO::NANDImporter().ExtractCertificates(File::GetUserPath(D_WIIROOT_IDX));
|
||||
DiscIO::NANDImporter().ExtractCertificates();
|
||||
break;
|
||||
case WiiUtils::UpdateResult::ServerFailed:
|
||||
ModalMessageBox::critical(parent, QObject::tr("Update failed"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue