diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2022-10-21 00:07:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-21 00:07:30 +0200 |
commit | a6628e8dba0432031a5bc470e5716c831128a357 (patch) | |
tree | 533eef88596325c5f14b3caf5350cb9a09265afa /src/core/hle/service | |
parent | Merge pull request #9099 from Docteh/undocked (diff) | |
parent | kernel: remove most SessionRequestManager handling from KServerSession (diff) | |
download | yuzu-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')
-rw-r--r-- | src/core/hle/service/sm/sm_controller.cpp | 5 |
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); |