summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2022-10-16 03:57:40 +0200
committerLiam <byteslice@airmail.cc>2022-10-19 22:31:12 +0200
commitfca195b4fb1255c20579fd25d8565f0ae4759b6e (patch)
tree4e4d2820993e2956e9dc272fb1c03b840ed4da75 /src/core/hle/service
parentkernel: add KSessionRequest (diff)
downloadyuzu-fca195b4fb1255c20579fd25d8565f0ae4759b6e.tar
yuzu-fca195b4fb1255c20579fd25d8565f0ae4759b6e.tar.gz
yuzu-fca195b4fb1255c20579fd25d8565f0ae4759b6e.tar.bz2
yuzu-fca195b4fb1255c20579fd25d8565f0ae4759b6e.tar.lz
yuzu-fca195b4fb1255c20579fd25d8565f0ae4759b6e.tar.xz
yuzu-fca195b4fb1255c20579fd25d8565f0ae4759b6e.tar.zst
yuzu-fca195b4fb1255c20579fd25d8565f0ae4759b6e.zip
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);