diff options
Diffstat (limited to 'src/core/core.cpp')
| -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 | |||
| 99 | static_cast<int>(system_mode.second)); | 99 | static_cast<int>(system_mode.second)); |
| 100 | 100 | ||
| 101 | switch (system_mode.second) { | 101 | switch (system_mode.second) { |
| 102 | case Loader::ResultStatus::ErrorEncrypted: | 102 | case Loader::ResultStatus::ErrorMissingKeys: |
| 103 | return ResultStatus::ErrorLoader_ErrorEncrypted; | 103 | return ResultStatus::ErrorLoader_ErrorMissingKeys; |
| 104 | case Loader::ResultStatus::ErrorDecrypting: | ||
| 105 | return ResultStatus::ErrorLoader_ErrorDecrypting; | ||
| 104 | case Loader::ResultStatus::ErrorInvalidFormat: | 106 | case Loader::ResultStatus::ErrorInvalidFormat: |
| 105 | return ResultStatus::ErrorLoader_ErrorInvalidFormat; | 107 | return ResultStatus::ErrorLoader_ErrorInvalidFormat; |
| 106 | case Loader::ResultStatus::ErrorUnsupportedArch: | 108 | case Loader::ResultStatus::ErrorUnsupportedArch: |
| @@ -124,8 +126,10 @@ System::ResultStatus System::Load(EmuWindow& emu_window, const std::string& file | |||
| 124 | System::Shutdown(); | 126 | System::Shutdown(); |
| 125 | 127 | ||
| 126 | switch (load_result) { | 128 | switch (load_result) { |
| 127 | case Loader::ResultStatus::ErrorEncrypted: | 129 | case Loader::ResultStatus::ErrorMissingKeys: |
| 128 | return ResultStatus::ErrorLoader_ErrorEncrypted; | 130 | return ResultStatus::ErrorLoader_ErrorMissingKeys; |
| 131 | case Loader::ResultStatus::ErrorDecrypting: | ||
| 132 | return ResultStatus::ErrorLoader_ErrorDecrypting; | ||
| 129 | case Loader::ResultStatus::ErrorInvalidFormat: | 133 | case Loader::ResultStatus::ErrorInvalidFormat: |
| 130 | return ResultStatus::ErrorLoader_ErrorInvalidFormat; | 134 | return ResultStatus::ErrorLoader_ErrorInvalidFormat; |
| 131 | case Loader::ResultStatus::ErrorUnsupportedArch: | 135 | case Loader::ResultStatus::ErrorUnsupportedArch: |