summaryrefslogtreecommitdiff
path: root/src/core/hle/service/sm
diff options
context:
space:
mode:
authorGravatar Liam2022-10-15 21:57:40 -0400
committerGravatar Liam2022-10-19 16:31:12 -0400
commitfca195b4fb1255c20579fd25d8565f0ae4759b6e (patch)
tree4e4d2820993e2956e9dc272fb1c03b840ed4da75 /src/core/hle/service/sm
parentkernel: add KSessionRequest (diff)
downloadyuzu-fca195b4fb1255c20579fd25d8565f0ae4759b6e.tar.gz
yuzu-fca195b4fb1255c20579fd25d8565f0ae4759b6e.tar.xz
yuzu-fca195b4fb1255c20579fd25d8565f0ae4759b6e.zip
kernel: remove most SessionRequestManager handling from KServerSession
Diffstat (limited to 'src/core/hle/service/sm')
-rw-r--r--src/core/hle/service/sm/sm_controller.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/hle/service/sm/sm_controller.cpp b/src/core/hle/service/sm/sm_controller.cpp
index 2a4bd64ab..273f79568 100644
--- a/src/core/hle/service/sm/sm_controller.cpp
+++ b/src/core/hle/service/sm/sm_controller.cpp
@@ -15,9 +15,10 @@
15namespace Service::SM { 15namespace Service::SM {
16 16
17void Controller::ConvertCurrentObjectToDomain(Kernel::HLERequestContext& ctx) { 17void Controller::ConvertCurrentObjectToDomain(Kernel::HLERequestContext& ctx) {
18 ASSERT_MSG(!ctx.Session()->IsDomain(), "Session is already a domain"); 18 ASSERT_MSG(!ctx.Session()->GetSessionRequestManager()->IsDomain(),
19 "Session is already a domain");
19 LOG_DEBUG(Service, "called, server_session={}", ctx.Session()->GetId()); 20 LOG_DEBUG(Service, "called, server_session={}", ctx.Session()->GetId());
20 ctx.Session()->ConvertToDomain(); 21 ctx.Session()->GetSessionRequestManager()->ConvertToDomainOnRequestEnd();
21 22
22 IPC::ResponseBuilder rb{ctx, 3}; 23 IPC::ResponseBuilder rb{ctx, 3};
23 rb.Push(ResultSuccess); 24 rb.Push(ResultSuccess);