diff options
| author | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-07-12 12:28:18 -0400 |
|---|---|---|
| committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-07-15 13:27:04 -0400 |
| commit | 1bbc61f5f1f65478727fbe6351240331d77f104d (patch) | |
| tree | f1e637dcf1983ae17188e220d730756bc914b606 /src/yuzu | |
| parent | 8794e623d99d6179ab15f76ddf473002d112fc3a (diff) | |
Use proper install result when overwriting files
Diffstat (limited to 'src/yuzu')
| -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; |
