Przeglądaj źródła

Change trace/unimplemented service call logs to use hex

Changes the log to use hex in the parameter list instead of decimal.
archshift 11 lat temu
rodzic
commit
84a88005e2
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/core/hle/service/service.cpp

+ 1 - 1
src/core/hle/service/service.cpp

@@ -54,7 +54,7 @@ static std::string MakeFunctionString(const char* name, const char* port_name, c
 
     std::string function_string = Common::StringFromFormat("function '%s': port=%s", name, port_name);
     for (int i = 1; i <= num_params; ++i) {
-        function_string += Common::StringFromFormat(", cmd_buff[%i]=%u", i, cmd_buff[i]);
+        function_string += Common::StringFromFormat(", cmd_buff[%i]=0x%X", i, cmd_buff[i]);
     }
     return function_string;
 }