diff options
| author | 2017-10-17 18:02:08 -0400 | |
|---|---|---|
| committer | 2017-10-17 18:02:08 -0400 | |
| commit | d3cc3696183cade265a792f1df71629eb0d21daa (patch) | |
| tree | 1e71e63ef370c9cf369de25f5442da359a1a4195 /src | |
| parent | hle: Implement ConvertSessionToDomain, various cleanups. (diff) | |
| download | yuzu-d3cc3696183cade265a792f1df71629eb0d21daa.tar.gz yuzu-d3cc3696183cade265a792f1df71629eb0d21daa.tar.xz yuzu-d3cc3696183cade265a792f1df71629eb0d21daa.zip | |
service: Print correct command ID on unimplemented function.
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/service/service.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/service.cpp b/src/core/hle/service/service.cpp index 240d79715..93a6d2618 100644 --- a/src/core/hle/service/service.cpp +++ b/src/core/hle/service/service.cpp | |||
| @@ -85,7 +85,7 @@ void ServiceFrameworkBase::RegisterHandlersBase(const FunctionInfoBase* function | |||
| 85 | void ServiceFrameworkBase::ReportUnimplementedFunction(Kernel::HLERequestContext& ctx, | 85 | void ServiceFrameworkBase::ReportUnimplementedFunction(Kernel::HLERequestContext& ctx, |
| 86 | const FunctionInfoBase* info) { | 86 | const FunctionInfoBase* info) { |
| 87 | auto cmd_buf = ctx.CommandBuffer(); | 87 | auto cmd_buf = ctx.CommandBuffer(); |
| 88 | std::string function_name = info == nullptr ? fmt::format("{:#08x}", cmd_buf[0]) : info->name; | 88 | std::string function_name = info == nullptr ? fmt::format("{:#08x}", ctx.GetCommand()) : info->name; |
| 89 | 89 | ||
| 90 | fmt::MemoryWriter w; | 90 | fmt::MemoryWriter w; |
| 91 | w.write("function '{}': port='{}' cmd_buf={{[0]={:#x}", function_name, service_name, | 91 | w.write("function '{}': port='{}' cmd_buf={{[0]={:#x}", function_name, service_name, |