aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/server_session.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-05-02 09:55:14 -0400
committerGitHub <noreply@github.com>2018-05-02 09:55:14 -0400
commit902182f80cb808d221998ab904a0c8dab93fd440 (patch)
treed8add81daca8bc72d5344549528ce4f3953f250f /src/core/hle/kernel/server_session.cpp
parent8262aeeac886f8b03cac5a5050580ac7ac77af4c (diff)
parentfadab1d5f365c11f0b4c33e74b0d297756f2f3f9 (diff)
Merge pull request #427 from bunnei/domain-inputs
ipc: Add support for PopIpcInterface() method.
Diffstat (limited to 'src/core/hle/kernel/server_session.cpp')
-rw-r--r--src/core/hle/kernel/server_session.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/kernel/server_session.cpp b/src/core/hle/kernel/server_session.cpp
index b1f8e771c..ed33c8600 100644
--- a/src/core/hle/kernel/server_session.cpp
+++ b/src/core/hle/kernel/server_session.cpp
@@ -61,6 +61,9 @@ void ServerSession::Acquire(Thread* thread) {
ResultCode ServerSession::HandleDomainSyncRequest(Kernel::HLERequestContext& context) {
auto& domain_message_header = context.GetDomainMessageHeader();
if (domain_message_header) {
+ // Set domain handlers in HLE context, used for domain objects (IPC interfaces) as inputs
+ context.SetDomainRequestHandlers(domain_request_handlers);
+
// If there is a DomainMessageHeader, then this is CommandType "Request"
const u32 object_id{context.GetDomainMessageHeader()->object_id};
switch (domain_message_header->command) {