diff options
| author | 2024-01-18 22:39:15 +0100 | |
|---|---|---|
| committer | 2024-01-25 16:42:06 -0500 | |
| commit | 54372fdff5fd982b4ac08315abcd42d81683b00d (patch) | |
| tree | 3c9ad14c965a00a0fb12bfe850c2b5373e4099a0 /src/core/hle/service/fatal | |
| parent | fs/errors: Unify naming of result codes (diff) | |
| download | yuzu-54372fdff5fd982b4ac08315abcd42d81683b00d.tar.gz yuzu-54372fdff5fd982b4ac08315abcd42d81683b00d.tar.xz yuzu-54372fdff5fd982b4ac08315abcd42d81683b00d.zip | |
result: Make fully constexpr, add ON_RESULT_INCLUDED
Diffstat (limited to 'src/core/hle/service/fatal')
| -rw-r--r-- | src/core/hle/service/fatal/fatal.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/fatal/fatal.cpp b/src/core/hle/service/fatal/fatal.cpp index 31da86074..dfcac1ffd 100644 --- a/src/core/hle/service/fatal/fatal.cpp +++ b/src/core/hle/service/fatal/fatal.cpp | |||
| @@ -73,8 +73,8 @@ static void GenerateErrorReport(Core::System& system, Result error_code, const F | |||
| 73 | "Program entry point: 0x{:16X}\n" | 73 | "Program entry point: 0x{:16X}\n" |
| 74 | "\n", | 74 | "\n", |
| 75 | Common::g_scm_branch, Common::g_scm_desc, title_id, error_code.raw, | 75 | Common::g_scm_branch, Common::g_scm_desc, title_id, error_code.raw, |
| 76 | 2000 + static_cast<u32>(error_code.module.Value()), | 76 | 2000 + static_cast<u32>(error_code.GetModule()), |
| 77 | static_cast<u32>(error_code.description.Value()), info.set_flags, info.program_entry_point); | 77 | static_cast<u32>(error_code.GetDescription()), info.set_flags, info.program_entry_point); |
| 78 | if (info.backtrace_size != 0x0) { | 78 | if (info.backtrace_size != 0x0) { |
| 79 | crash_report += "Registers:\n"; | 79 | crash_report += "Registers:\n"; |
| 80 | for (size_t i = 0; i < info.registers.size(); i++) { | 80 | for (size_t i = 0; i < info.registers.size(); i++) { |