diff options
author | bunnei <bunneidev@gmail.com> | 2020-05-08 01:13:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-08 01:13:34 +0200 |
commit | 1121960f0ecacd83bb66db3796acf31b3440bc17 (patch) | |
tree | b506df17d8d77d683d4df843f178712335e92ba3 /src/core/hle/kernel/server_session.cpp | |
parent | Merge pull request #3884 from ReinUsesLisp/border-colors (diff) | |
parent | hle_ipc: Eliminate core memory globals (diff) | |
download | yuzu-1121960f0ecacd83bb66db3796acf31b3440bc17.tar yuzu-1121960f0ecacd83bb66db3796acf31b3440bc17.tar.gz yuzu-1121960f0ecacd83bb66db3796acf31b3440bc17.tar.bz2 yuzu-1121960f0ecacd83bb66db3796acf31b3440bc17.tar.lz yuzu-1121960f0ecacd83bb66db3796acf31b3440bc17.tar.xz yuzu-1121960f0ecacd83bb66db3796acf31b3440bc17.tar.zst yuzu-1121960f0ecacd83bb66db3796acf31b3440bc17.zip |
Diffstat (limited to 'src/core/hle/kernel/server_session.cpp')
-rw-r--r-- | src/core/hle/kernel/server_session.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/server_session.cpp b/src/core/hle/kernel/server_session.cpp index 0f102ca44..25438b86b 100644 --- a/src/core/hle/kernel/server_session.cpp +++ b/src/core/hle/kernel/server_session.cpp @@ -137,8 +137,8 @@ ResultCode ServerSession::HandleDomainSyncRequest(Kernel::HLERequestContext& con ResultCode ServerSession::QueueSyncRequest(std::shared_ptr<Thread> thread, Core::Memory::Memory& memory) { u32* cmd_buf{reinterpret_cast<u32*>(memory.GetPointer(thread->GetTLSAddress()))}; - std::shared_ptr<Kernel::HLERequestContext> context{ - std::make_shared<Kernel::HLERequestContext>(SharedFrom(this), std::move(thread))}; + auto context = + std::make_shared<HLERequestContext>(kernel, memory, SharedFrom(this), std::move(thread)); context->PopulateFromIncomingCommandBuffer(kernel.CurrentProcess()->GetHandleTable(), cmd_buf); request_queue.Push(std::move(context)); |