diff options
| author | 2021-01-25 02:47:40 +1100 | |
|---|---|---|
| committer | 2021-01-25 02:47:40 +1100 | |
| commit | 2afc1060ef63c64cd1f541b37c219b340c84f722 (patch) | |
| tree | 127c717c5eb0d895257d208ab53f195c6694af75 /src/core/hle/service/lm | |
| parent | Clamp string reads to buffer size (diff) | |
| download | yuzu-2afc1060ef63c64cd1f541b37c219b340c84f722.tar.gz yuzu-2afc1060ef63c64cd1f541b37c219b340c84f722.tar.xz yuzu-2afc1060ef63c64cd1f541b37c219b340c84f722.zip | |
Print Process ID and Thread ID as hex
Diffstat (limited to 'src/core/hle/service/lm')
| -rw-r--r-- | src/core/hle/service/lm/lm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/lm/lm.cpp b/src/core/hle/service/lm/lm.cpp index 90e9e691a..2a6d43d2a 100644 --- a/src/core/hle/service/lm/lm.cpp +++ b/src/core/hle/service/lm/lm.cpp | |||
| @@ -253,8 +253,8 @@ private: | |||
| 253 | if (line_number && *line_number != 0) { | 253 | if (line_number && *line_number != 0) { |
| 254 | output_log += fmt::format("Line: {}\n", *line_number); | 254 | output_log += fmt::format("Line: {}\n", *line_number); |
| 255 | } | 255 | } |
| 256 | output_log += fmt::format("ProcessID: {}\n", entry.pid); | 256 | output_log += fmt::format("ProcessID: {:X}\n", entry.pid); |
| 257 | output_log += fmt::format("ThreadID: {}\n", entry.tid); | 257 | output_log += fmt::format("ThreadID: {:X}\n", entry.tid); |
| 258 | 258 | ||
| 259 | if (text_log) { | 259 | if (text_log) { |
| 260 | output_log += fmt::format("Log Text: {}\n", *text_log); | 260 | output_log += fmt::format("Log Text: {}\n", *text_log); |