Skip to content
Permalink
Browse files
Merge pull request #6229 from JosJuice/clarify-keys-dump
Clarify the "Select the OTP/SEEPROM dump" message
  • Loading branch information
Helios747 committed Dec 2, 2017
2 parents c48ccdb + c4db59e commit d71f416
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
@@ -906,9 +906,9 @@ void MainWindow::OnImportNANDBackup()
},
[this] {
return RunOnObject(this, [this] {
return QFileDialog::getOpenFileName(this, tr("Select the OTP/SEEPROM dump"),
return QFileDialog::getOpenFileName(this, tr("Select the keys file (OTP/SEEPROM dump)"),
QDir::currentPath(),
tr("BootMii OTP/SEEPROM dump (*.bin);;"
tr("BootMii keys file (*.bin);;"
"All Files (*)"))
.toStdString();
});
@@ -1306,10 +1306,11 @@ void CFrame::OnImportBootMiiBackup(wxCommandEvent& WXUNUSED(event))
DiscIO::NANDImporter().ImportNANDBin(
file_name, [&dialog] { dialog.Pulse(); },
[this] {
return WxStrToStr(wxFileSelector(
_("Select the OTP/SEEPROM dump"), wxEmptyString, wxEmptyString, wxEmptyString,
_("BootMii OTP/SEEPROM dump (*.bin)") + "|*.bin|" + wxGetTranslation(wxALL_FILES),
wxFD_OPEN | wxFD_PREVIEW | wxFD_FILE_MUST_EXIST, this));
return WxStrToStr(wxFileSelector(_("Select the keys file (OTP/SEEPROM dump)"),
wxEmptyString, wxEmptyString, wxEmptyString,
_("BootMii keys file (*.bin)") + "|*.bin|" +
wxGetTranslation(wxALL_FILES),
wxFD_OPEN | wxFD_PREVIEW | wxFD_FILE_MUST_EXIST, this));
});
wxPostEvent(GetMenuBar(), wxCommandEvent{DOLPHIN_EVT_UPDATE_LOAD_WII_MENU_ITEM});
}

0 comments on commit d71f416

Please sign in to comment.