Merge pull request #6229 from JosJuice/clarify-keys-dump
Clarify the "Select the OTP/SEEPROM dump" message
This commit is contained in:
commit
d71f4168e9
|
@ -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});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue