2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

main: Make game updates installable

This commit is contained in:
Zach Hilman 2018-08-25 19:06:33 -04:00
parent 8e150c46b9
commit f92b3512e0

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;
} }