diff options
| author | David <25727384+ogniK5377@users.noreply.github.com> | 2020-07-16 20:36:22 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-16 20:36:22 +1000 |
| commit | 815f30dc107794b0ed6a5da7e3c166be5fa12766 (patch) | |
| tree | 812b23c4543db9794c660a6d801668b06210ebf5 /src/yuzu/main.cpp | |
| parent | f26f53f35b0a1b4476a6bc671faafdab639f959d (diff) | |
| parent | f66e3181dc3ead065330aa81a07e530643579f7f (diff) | |
Merge pull request #4249 from Morph1984/delete-update-aoc-on-overwrite
registered_cache: Remove previous update/dlc if it exists on install
Diffstat (limited to 'src/yuzu/main.cpp')
| -rw-r--r-- | src/yuzu/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 432379705..d51cb2bcb 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -1755,7 +1755,7 @@ InstallResult GMainWindow::InstallNSPXCI(const QString& filename) { *nsp, true, qt_raw_copy); if (res == FileSys::InstallResult::Success) { return InstallResult::Success; - } else if (res == FileSys::InstallResult::ErrorAlreadyExists) { + } else if (res == FileSys::InstallResult::OverwriteExisting) { return InstallResult::Overwrite; } else { return InstallResult::Failure; @@ -1842,7 +1842,7 @@ InstallResult GMainWindow::InstallNCA(const QString& filename) { if (res == FileSys::InstallResult::Success) { return InstallResult::Success; - } else if (res == FileSys::InstallResult::ErrorAlreadyExists) { + } else if (res == FileSys::InstallResult::OverwriteExisting) { return InstallResult::Overwrite; } else { return InstallResult::Failure; |
