summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/sm
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2022-10-21 00:07:30 +0200
committerGitHub <noreply@github.com>2022-10-21 00:07:30 +0200
commita6628e8dba0432031a5bc470e5716c831128a357 (patch)
tree533eef88596325c5f14b3caf5350cb9a09265afa /src/core/hle/service/sm
parentMerge pull request #9099 from Docteh/undocked (diff)
parentkernel: remove most SessionRequestManager handling from KServerSession (diff)
downloadyuzu-a6628e8dba0432031a5bc470e5716c831128a357.tar
yuzu-a6628e8dba0432031a5bc470e5716c831128a357.tar.gz
yuzu-a6628e8dba0432031a5bc470e5716c831128a357.tar.bz2
yuzu-a6628e8dba0432031a5bc470e5716c831128a357.tar.lz
yuzu-a6628e8dba0432031a5bc470e5716c831128a357.tar.xz
yuzu-a6628e8dba0432031a5bc470e5716c831128a357.tar.zst
yuzu-a6628e8dba0432031a5bc470e5716c831128a357.zip
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 @@
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);