yuzu-emu
/
yuzu
Archived
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 { } else {
const auto nca = std::make_shared<FileSys::NCA>( const auto nca = std::make_shared<FileSys::NCA>(
vfs->OpenFile(filename.toStdString(), FileSys::Mode::Read)); 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(); failed();
return; return;
} }