summaryrefslogtreecommitdiff
path: root/src/core/hle/service/service.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/service/service.cpp')
-rw-r--r--src/core/hle/service/service.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/service/service.cpp b/src/core/hle/service/service.cpp
index 7a5f08b24..dc30702c6 100644
--- a/src/core/hle/service/service.cpp
+++ b/src/core/hle/service/service.cpp
@@ -60,7 +60,7 @@ static std::string MakeFunctionString(const char* name, const char* port_name,
60 60
61 std::string function_string = fmt::format("function '{}': port={}", name, port_name); 61 std::string function_string = fmt::format("function '{}': port={}", name, port_name);
62 for (int i = 1; i <= num_params; ++i) { 62 for (int i = 1; i <= num_params; ++i) {
63 function_string += fmt::format(", cmd_buff[{}]={:#X}", i, cmd_buff[i]); 63 function_string += fmt::format(", cmd_buff[{}]=0x{:X}", i, cmd_buff[i]);
64 } 64 }
65 return function_string; 65 return function_string;
66} 66}
@@ -113,10 +113,10 @@ void ServiceFrameworkBase::ReportUnimplementedFunction(Kernel::HLERequestContext
113 std::string function_name = info == nullptr ? fmt::format("{}", ctx.GetCommand()) : info->name; 113 std::string function_name = info == nullptr ? fmt::format("{}", ctx.GetCommand()) : info->name;
114 114
115 fmt::memory_buffer buf; 115 fmt::memory_buffer buf;
116 fmt::format_to(buf, "function '{}': port='{}' cmd_buf={{[0]={:#x}", function_name, service_name, 116 fmt::format_to(buf, "function '{}': port='{}' cmd_buf={{[0]=0x{:X}", function_name,
117 cmd_buf[0]); 117 service_name, cmd_buf[0]);
118 for (int i = 1; i <= 8; ++i) { 118 for (int i = 1; i <= 8; ++i) {
119 fmt::format_to(buf, ", [{}]={:#x}", i, cmd_buf[i]); 119 fmt::format_to(buf, ", [{}]=0x{:X}", i, cmd_buf[i]);
120 } 120 }
121 buf.push_back('}'); 121 buf.push_back('}');
122 122