Explorar el Código

Merge pull request #947 from archshift/hex-log

Change trace/unimplemented service call logs to use hex
Yuri Kunde Schlesner hace 11 años
padre
commit
618434d7fc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);
     std::string function_string = Common::StringFromFormat("function '%s': port=%s", name, port_name);
     for (int i = 1; i <= num_params; ++i) {
     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;
     return function_string;
 }
 }