summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-05-11 01:05:37 +0200
committerbunnei <bunneidev@gmail.com>2021-05-11 05:34:38 +0200
commitda25a5986666c55de1421aed978f7e92e5a87c8f (patch)
tree9050ea95e173e1ec2b9e3e5853232926c22093b6 /src/core/hle/kernel
parenthle: service: sm: Use RegisterNamedService to register the service. (diff)
downloadyuzu-da25a5986666c55de1421aed978f7e92e5a87c8f.tar
yuzu-da25a5986666c55de1421aed978f7e92e5a87c8f.tar.gz
yuzu-da25a5986666c55de1421aed978f7e92e5a87c8f.tar.bz2
yuzu-da25a5986666c55de1421aed978f7e92e5a87c8f.tar.lz
yuzu-da25a5986666c55de1421aed978f7e92e5a87c8f.tar.xz
yuzu-da25a5986666c55de1421aed978f7e92e5a87c8f.tar.zst
yuzu-da25a5986666c55de1421aed978f7e92e5a87c8f.zip
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r--src/core/hle/kernel/k_server_session.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/k_server_session.cpp b/src/core/hle/kernel/k_server_session.cpp
index b28cc2499..8850d9af5 100644
--- a/src/core/hle/kernel/k_server_session.cpp
+++ b/src/core/hle/kernel/k_server_session.cpp
@@ -95,7 +95,7 @@ ResultCode KServerSession::HandleDomainSyncRequest(Kernel::HLERequestContext& co
UNREACHABLE();
return RESULT_SUCCESS; // Ignore error if asserts are off
}
- return domain_request_handlers[object_id - 1]->HandleSyncRequest(context);
+ return domain_request_handlers[object_id - 1]->HandleSyncRequest(*this, context);
case IPC::DomainMessageHeader::CommandType::CloseVirtualHandle: {
LOG_DEBUG(IPC, "CloseVirtualHandle, object_id=0x{:08X}", object_id);
@@ -135,7 +135,7 @@ ResultCode KServerSession::CompleteSyncRequest(HLERequestContext& context) {
// If there is no domain header, the regular session handler is used
} else if (hle_handler != nullptr) {
// If this ServerSession has an associated HLE handler, forward the request to it.
- result = hle_handler->HandleSyncRequest(context);
+ result = hle_handler->HandleSyncRequest(*this, context);
}
if (convert_to_domain) {