Prechádzať zdrojové kódy

Print Process ID and Thread ID as hex

Chloe Marcec 5 rokov pred
rodič
commit
2afc1060ef
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 2 2
      src/core/hle/service/lm/lm.cpp

+ 2 - 2
src/core/hle/service/lm/lm.cpp

@@ -253,8 +253,8 @@ private:
         if (line_number && *line_number != 0) {
         if (line_number && *line_number != 0) {
             output_log += fmt::format("Line: {}\n", *line_number);
             output_log += fmt::format("Line: {}\n", *line_number);
         }
         }
-        output_log += fmt::format("ProcessID: {}\n", entry.pid);
-        output_log += fmt::format("ThreadID: {}\n", entry.tid);
+        output_log += fmt::format("ProcessID: {:X}\n", entry.pid);
+        output_log += fmt::format("ThreadID: {:X}\n", entry.tid);
 
 
         if (text_log) {
         if (text_log) {
             output_log += fmt::format("Log Text: {}\n", *text_log);
             output_log += fmt::format("Log Text: {}\n", *text_log);