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 b7f4b4532..0ef6af3fe 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp | |||
| @@ -101,8 +101,10 @@ System::ResultStatus System::Load(EmuWindow* emu_window, const std::string& file | |||
| 101 | static_cast<int>(system_mode.second)); | 101 | static_cast<int>(system_mode.second)); |
| 102 | 102 | ||
| 103 | switch (system_mode.second) { | 103 | switch (system_mode.second) { |
| 104 | case Loader::ResultStatus::ErrorEncrypted: | 104 | case Loader::ResultStatus::ErrorMissingKeys: |
| 105 | return ResultStatus::ErrorLoader_ErrorEncrypted; | 105 | return ResultStatus::ErrorLoader_ErrorMissingKeys; |
| 106 | case Loader::ResultStatus::ErrorDecrypting: | ||
| 107 | return ResultStatus::ErrorLoader_ErrorDecrypting; | ||
| 106 | case Loader::ResultStatus::ErrorInvalidFormat: | 108 | case Loader::ResultStatus::ErrorInvalidFormat: |
| 107 | return ResultStatus::ErrorLoader_ErrorInvalidFormat; | 109 | return ResultStatus::ErrorLoader_ErrorInvalidFormat; |
| 108 | case Loader::ResultStatus::ErrorUnsupportedArch: | 110 | case Loader::ResultStatus::ErrorUnsupportedArch: |
| @@ -126,8 +128,10 @@ System::ResultStatus System::Load(EmuWindow* emu_window, const std::string& file | |||
| 126 | System::Shutdown(); | 128 | System::Shutdown(); |
| 127 | 129 | ||
| 128 | switch (load_result) { | 130 | switch (load_result) { |
| 129 | case Loader::ResultStatus::ErrorEncrypted: | 131 | case Loader::ResultStatus::ErrorMissingKeys: |
| 130 | return ResultStatus::ErrorLoader_ErrorEncrypted; | 132 | return ResultStatus::ErrorLoader_ErrorMissingKeys; |
| 133 | case Loader::ResultStatus::ErrorDecrypting: | ||
| 134 | return ResultStatus::ErrorLoader_ErrorDecrypting; | ||
| 131 | case Loader::ResultStatus::ErrorInvalidFormat: | 135 | case Loader::ResultStatus::ErrorInvalidFormat: |
| 132 | return ResultStatus::ErrorLoader_ErrorInvalidFormat; | 136 | return ResultStatus::ErrorLoader_ErrorInvalidFormat; |
| 133 | case Loader::ResultStatus::ErrorUnsupportedArch: | 137 | case Loader::ResultStatus::ErrorUnsupportedArch: |