diff options
author | bunnei <bunneidev@gmail.com> | 2021-06-08 06:10:51 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2021-06-08 06:10:51 +0200 |
commit | a493ab2678078ce2066e8120ec93c0f6b4274df6 (patch) | |
tree | 41178195f09f5622246f44311f0b8727240e5624 /src/core/hle/kernel/k_server_session.cpp | |
parent | Merge pull request #6410 from lat9nq/avoid-oob (diff) | |
download | yuzu-a493ab2678078ce2066e8120ec93c0f6b4274df6.tar yuzu-a493ab2678078ce2066e8120ec93c0f6b4274df6.tar.gz yuzu-a493ab2678078ce2066e8120ec93c0f6b4274df6.tar.bz2 yuzu-a493ab2678078ce2066e8120ec93c0f6b4274df6.tar.lz yuzu-a493ab2678078ce2066e8120ec93c0f6b4274df6.tar.xz yuzu-a493ab2678078ce2066e8120ec93c0f6b4274df6.tar.zst yuzu-a493ab2678078ce2066e8120ec93c0f6b4274df6.zip |
Diffstat (limited to 'src/core/hle/kernel/k_server_session.cpp')
-rw-r--r-- | src/core/hle/kernel/k_server_session.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_server_session.cpp b/src/core/hle/kernel/k_server_session.cpp index 528ca8614..61213c20e 100644 --- a/src/core/hle/kernel/k_server_session.cpp +++ b/src/core/hle/kernel/k_server_session.cpp @@ -119,7 +119,7 @@ ResultCode KServerSession::QueueSyncRequest(KThread* thread, Core::Memory::Memor context->PopulateFromIncomingCommandBuffer(kernel.CurrentProcess()->GetHandleTable(), cmd_buf); - if (auto strong_ptr = manager->GetServiceThread(); strong_ptr) { + if (auto strong_ptr = manager->GetServiceThread().lock()) { strong_ptr->QueueSyncRequest(*parent, std::move(context)); return ResultSuccess; } else { |