diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuzu/main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 7aa515226..e8f979440 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp | |||
| @@ -1049,8 +1049,7 @@ bool GMainWindow::LoadROM(const QString& filename, std::size_t program_index) { | |||
| 1049 | break; | 1049 | break; |
| 1050 | 1050 | ||
| 1051 | default: | 1051 | default: |
| 1052 | if (static_cast<u32>(result) > | 1052 | if (result > Core::System::ResultStatus::ErrorLoader) { |
| 1053 | static_cast<u32>(Core::System::ResultStatus::ErrorLoader)) { | ||
| 1054 | const u16 loader_id = static_cast<u16>(Core::System::ResultStatus::ErrorLoader); | 1053 | const u16 loader_id = static_cast<u16>(Core::System::ResultStatus::ErrorLoader); |
| 1055 | const u16 error_id = static_cast<u16>(result) - loader_id; | 1054 | const u16 error_id = static_cast<u16>(result) - loader_id; |
| 1056 | const std::string error_code = fmt::format("({:04X}-{:04X})", loader_id, error_id); | 1055 | const std::string error_code = fmt::format("({:04X}-{:04X})", loader_id, error_id); |