summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2017-10-18 00:02:08 +0200
committerbunnei <bunneidev@gmail.com>2017-10-18 00:02:08 +0200
commitd3cc3696183cade265a792f1df71629eb0d21daa (patch)
tree1e71e63ef370c9cf369de25f5442da359a1a4195
parenthle: Implement ConvertSessionToDomain, various cleanups. (diff)
downloadyuzu-d3cc3696183cade265a792f1df71629eb0d21daa.tar
yuzu-d3cc3696183cade265a792f1df71629eb0d21daa.tar.gz
yuzu-d3cc3696183cade265a792f1df71629eb0d21daa.tar.bz2
yuzu-d3cc3696183cade265a792f1df71629eb0d21daa.tar.lz
yuzu-d3cc3696183cade265a792f1df71629eb0d21daa.tar.xz
yuzu-d3cc3696183cade265a792f1df71629eb0d21daa.tar.zst
yuzu-d3cc3696183cade265a792f1df71629eb0d21daa.zip
-rw-r--r--src/core/hle/service/service.cpp2
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
void ServiceFrameworkBase::ReportUnimplementedFunction(Kernel::HLERequestContext& ctx,
const FunctionInfoBase* info) {
auto cmd_buf = ctx.CommandBuffer();
- std::string function_name = info == nullptr ? fmt::format("{:#08x}", cmd_buf[0]) : info->name;
+ std::string function_name = info == nullptr ? fmt::format("{:#08x}", ctx.GetCommand()) : info->name;
fmt::MemoryWriter w;
w.write("function '{}': port='{}' cmd_buf={{[0]={:#x}", function_name, service_name,