diff options
| author | 2018-08-25 19:06:33 -0400 | |
|---|---|---|
| committer | 2018-09-04 16:24:02 -0400 | |
| commit | f92b3512e0772a959c6a3c292af600149165e180 (patch) | |
| tree | e50048b21941fdcc2e03086fb4c372f7522f5144 /src | |
| parent | game_list: Display patch names and versions on list (diff) | |
| download | yuzu-f92b3512e0772a959c6a3c292af600149165e180.tar.gz yuzu-f92b3512e0772a959c6a3c292af600149165e180.tar.xz yuzu-f92b3512e0772a959c6a3c292af600149165e180.zip | |
main: Make game updates installable
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuzu/main.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 56bd3ee2e..3d438df47 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp | |||
| @@ -868,7 +868,11 @@ void GMainWindow::OnMenuInstallToNAND() { | |||
| 868 | } else { | 868 | } else { |
| 869 | const auto nca = std::make_shared<FileSys::NCA>( | 869 | const auto nca = std::make_shared<FileSys::NCA>( |
| 870 | vfs->OpenFile(filename.toStdString(), FileSys::Mode::Read)); | 870 | vfs->OpenFile(filename.toStdString(), FileSys::Mode::Read)); |
| 871 | if (nca->GetStatus() != Loader::ResultStatus::Success) { | 871 | const auto id = nca->GetStatus(); |
| 872 | |||
| 873 | // Game updates necessary are missing base RomFS | ||
| 874 | if (nca->GetStatus() != Loader::ResultStatus::Success && | ||
| 875 | nca->GetStatus() != Loader::ResultStatus::ErrorMissingBKTRBaseRomFS) { | ||
| 872 | failed(); | 876 | failed(); |
| 873 | return; | 877 | return; |
| 874 | } | 878 | } |