summaryrefslogtreecommitdiff
path: root/src/core/hle/service
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2022-10-15 21:57:40 -0400
committerLiam <byteslice@airmail.cc>2022-10-19 16:31:12 -0400
commitfca195b4fb1255c20579fd25d8565f0ae4759b6e (patch)
tree4e4d2820993e2956e9dc272fb1c03b840ed4da75 /src/core/hle/service
parent3efb8eb2dc8bf14eecb7e731a61712e0290d9f5d (diff)
kernel: remove most SessionRequestManager handling from KServerSession
Diffstat (limited to 'src/core/hle/service')
-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 @@
namespace Service::SM {
void Controller::ConvertCurrentObjectToDomain(Kernel::HLERequestContext& ctx) {
- ASSERT_MSG(!ctx.Session()->IsDomain(), "Session is already a domain");
+ ASSERT_MSG(!ctx.Session()->GetSessionRequestManager()->IsDomain(),
+ "Session is already a domain");
LOG_DEBUG(Service, "called, server_session={}", ctx.Session()->GetId());
- ctx.Session()->ConvertToDomain();
+ ctx.Session()->GetSessionRequestManager()->ConvertToDomainOnRequestEnd();
IPC::ResponseBuilder rb{ctx, 3};
rb.Push(ResultSuccess);