mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-12-26 16:00:08 +00:00
main: Make game updates installable
This commit is contained in:
parent
8e150c46b9
commit
f92b3512e0
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user