forked from ShuriZma/suyu
1
0
Fork 0

main: Make game updates installable

This commit is contained in:
Zach Hilman 2018-08-25 19:06:33 -04:00
parent 8e150c46b9
commit f92b3512e0
1 changed files with 5 additions and 1 deletions

View File

@ -868,7 +868,11 @@ void GMainWindow::OnMenuInstallToNAND() {
} else {
const auto nca = std::make_shared<FileSys::NCA>(
vfs->OpenFile(filename.toStdString(), FileSys::Mode::Read));
if (nca->GetStatus() != Loader::ResultStatus::Success) {
const auto id = nca->GetStatus();
// Game updates necessary are missing base RomFS
if (nca->GetStatus() != Loader::ResultStatus::Success &&
nca->GetStatus() != Loader::ResultStatus::ErrorMissingBKTRBaseRomFS) {
failed();
return;
}