diff options
author | bunnei <bunneidev@gmail.com> | 2021-11-10 06:02:29 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2021-12-07 01:39:17 +0100 |
commit | e942d9754028850ea1f6b223e4f1b8da7b13c1c4 (patch) | |
tree | b58ff06d22144dfd13edd10ea7399b77f22da545 /src/core/hle/kernel/k_server_session.cpp | |
parent | hle: kernel: KLightConditionVariable: Migrate to updated KThreadQueue. (diff) | |
download | yuzu-e942d9754028850ea1f6b223e4f1b8da7b13c1c4.tar yuzu-e942d9754028850ea1f6b223e4f1b8da7b13c1c4.tar.gz yuzu-e942d9754028850ea1f6b223e4f1b8da7b13c1c4.tar.bz2 yuzu-e942d9754028850ea1f6b223e4f1b8da7b13c1c4.tar.lz yuzu-e942d9754028850ea1f6b223e4f1b8da7b13c1c4.tar.xz yuzu-e942d9754028850ea1f6b223e4f1b8da7b13c1c4.tar.zst yuzu-e942d9754028850ea1f6b223e4f1b8da7b13c1c4.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/k_server_session.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/kernel/k_server_session.cpp b/src/core/hle/kernel/k_server_session.cpp index 1f7220d48..d4e4a6b06 100644 --- a/src/core/hle/kernel/k_server_session.cpp +++ b/src/core/hle/kernel/k_server_session.cpp @@ -175,8 +175,7 @@ ResultCode KServerSession::CompleteSyncRequest(HLERequestContext& context) { { KScopedSchedulerLock lock(kernel); if (!context.IsThreadWaiting()) { - context.GetThread().Wakeup(); - context.GetThread().SetWaitResult(result); + context.GetThread().EndWait(result); } } |