diff options
| author | 2023-12-17 20:46:41 -0500 | |
|---|---|---|
| committer | 2023-12-22 21:52:49 -0500 | |
| commit | 31bf57a310f3b3417e96ec9e1cee6c1c817882d9 (patch) | |
| tree | c5101e70584301cfc452641544cd31d4d4c6d105 /src/core/hle/service/fatal | |
| parent | k_server_session: remove scratch buffer usage in favor of direct copy (diff) | |
| download | yuzu-31bf57a310f3b3417e96ec9e1cee6c1c817882d9.tar.gz yuzu-31bf57a310f3b3417e96ec9e1cee6c1c817882d9.tar.xz yuzu-31bf57a310f3b3417e96ec9e1cee6c1c817882d9.zip | |
general: properly support multiple memory instances
Diffstat (limited to 'src/core/hle/service/fatal')
| -rw-r--r-- | src/core/hle/service/fatal/fatal.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/fatal/fatal.cpp b/src/core/hle/service/fatal/fatal.cpp index fe2ed8df8..31da86074 100644 --- a/src/core/hle/service/fatal/fatal.cpp +++ b/src/core/hle/service/fatal/fatal.cpp | |||
| @@ -89,7 +89,7 @@ static void GenerateErrorReport(Core::System& system, Result error_code, const F | |||
| 89 | crash_report += fmt::format(" ESR: {:016x}\n", info.esr); | 89 | crash_report += fmt::format(" ESR: {:016x}\n", info.esr); |
| 90 | crash_report += fmt::format(" FAR: {:016x}\n", info.far); | 90 | crash_report += fmt::format(" FAR: {:016x}\n", info.far); |
| 91 | crash_report += "\nBacktrace:\n"; | 91 | crash_report += "\nBacktrace:\n"; |
| 92 | for (size_t i = 0; i < info.backtrace_size; i++) { | 92 | for (u32 i = 0; i < std::min<u32>(info.backtrace_size, 32); i++) { |
| 93 | crash_report += | 93 | crash_report += |
| 94 | fmt::format(" Backtrace[{:02d}]: {:016x}\n", i, info.backtrace[i]); | 94 | fmt::format(" Backtrace[{:02d}]: {:016x}\n", i, info.backtrace[i]); |
| 95 | } | 95 | } |