summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/service.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2017-12-28 21:24:59 +0100
committerbunnei <bunneidev@gmail.com>2017-12-28 21:24:59 +0100
commit16fb1c8fe75338ef9848d9ed75247c3b869bea57 (patch)
tree372c4ba41c00f2c35f8e23436108fa51a03ca286 /src/core/hle/service/service.cpp
parentservice: Add empty interface for aoc:u. (diff)
downloadyuzu-16fb1c8fe75338ef9848d9ed75247c3b869bea57.tar
yuzu-16fb1c8fe75338ef9848d9ed75247c3b869bea57.tar.gz
yuzu-16fb1c8fe75338ef9848d9ed75247c3b869bea57.tar.bz2
yuzu-16fb1c8fe75338ef9848d9ed75247c3b869bea57.tar.lz
yuzu-16fb1c8fe75338ef9848d9ed75247c3b869bea57.tar.xz
yuzu-16fb1c8fe75338ef9848d9ed75247c3b869bea57.tar.zst
yuzu-16fb1c8fe75338ef9848d9ed75247c3b869bea57.zip
Diffstat (limited to 'src/core/hle/service/service.cpp')
-rw-r--r--src/core/hle/service/service.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/hle/service/service.cpp b/src/core/hle/service/service.cpp
index 66125f52b..3394ea414 100644
--- a/src/core/hle/service/service.cpp
+++ b/src/core/hle/service/service.cpp
@@ -96,7 +96,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}", ctx.GetCommand()) : info->name;
+ std::string function_name = info == nullptr ? fmt::format("{}", ctx.GetCommand()) : info->name;
fmt::MemoryWriter w;
w.write("function '{}': port='{}' cmd_buf={{[0]={:#x}", function_name, service_name,
@@ -107,9 +107,7 @@ void ServiceFrameworkBase::ReportUnimplementedFunction(Kernel::HLERequestContext
w << '}';
LOG_ERROR(Service, "unknown / unimplemented %s", w.c_str());
- // TODO(bunnei): Hack - ignore error
- IPC::RequestBuilder rb{ctx, 1};
- rb.Push(RESULT_SUCCESS);
+ UNIMPLEMENTED();
}
void ServiceFrameworkBase::InvokeRequest(Kernel::HLERequestContext& ctx) {