瀏覽代碼

Print Process ID and Thread ID as hex

Chloe Marcec 5 年之前
父節點
當前提交
2afc1060ef
共有 1 個文件被更改,包括 2 次插入2 次删除
  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) {
             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) {
             output_log += fmt::format("Log Text: {}\n", *text_log);