diff options
author | bunnei <bunneidev@gmail.com> | 2018-08-04 20:33:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-04 20:33:11 +0200 |
commit | 2b06301dbfbfe79687219bf7783a6d1b47695401 (patch) | |
tree | 222cc27ecbc7f7e86d2edef8d36436600dee7d7a /src/core/core.cpp | |
parent | Merge pull request #919 from lioncash/sign (diff) | |
parent | Add missing parameter to files.push_back() (diff) | |
download | yuzu-2b06301dbfbfe79687219bf7783a6d1b47695401.tar yuzu-2b06301dbfbfe79687219bf7783a6d1b47695401.tar.gz yuzu-2b06301dbfbfe79687219bf7783a6d1b47695401.tar.bz2 yuzu-2b06301dbfbfe79687219bf7783a6d1b47695401.tar.lz yuzu-2b06301dbfbfe79687219bf7783a6d1b47695401.tar.xz yuzu-2b06301dbfbfe79687219bf7783a6d1b47695401.tar.zst yuzu-2b06301dbfbfe79687219bf7783a6d1b47695401.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/core.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index 9824769cf..e51e66550 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -99,8 +99,10 @@ System::ResultStatus System::Load(EmuWindow& emu_window, const std::string& file static_cast<int>(system_mode.second)); switch (system_mode.second) { - case Loader::ResultStatus::ErrorEncrypted: - return ResultStatus::ErrorLoader_ErrorEncrypted; + case Loader::ResultStatus::ErrorMissingKeys: + return ResultStatus::ErrorLoader_ErrorMissingKeys; + case Loader::ResultStatus::ErrorDecrypting: + return ResultStatus::ErrorLoader_ErrorDecrypting; case Loader::ResultStatus::ErrorInvalidFormat: return ResultStatus::ErrorLoader_ErrorInvalidFormat; case Loader::ResultStatus::ErrorUnsupportedArch: @@ -124,8 +126,10 @@ System::ResultStatus System::Load(EmuWindow& emu_window, const std::string& file System::Shutdown(); switch (load_result) { - case Loader::ResultStatus::ErrorEncrypted: - return ResultStatus::ErrorLoader_ErrorEncrypted; + case Loader::ResultStatus::ErrorMissingKeys: + return ResultStatus::ErrorLoader_ErrorMissingKeys; + case Loader::ResultStatus::ErrorDecrypting: + return ResultStatus::ErrorLoader_ErrorDecrypting; case Loader::ResultStatus::ErrorInvalidFormat: return ResultStatus::ErrorLoader_ErrorInvalidFormat; case Loader::ResultStatus::ErrorUnsupportedArch: |