summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/svc.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2021-11-09 19:21:20 -0800
committerGravatar bunnei2021-12-06 16:39:17 -0800
commit2f894560413db9bf8efc1febc26904937a28380f (patch)
tree7ba9a6d13f96fc531973dc2015c3c7f2469e8677 /src/core/hle/kernel/svc.cpp
parenthle: kernel: Update KThreadQueue and migrate KSynchronizationObject. (diff)
downloadyuzu-2f894560413db9bf8efc1febc26904937a28380f.tar.gz
yuzu-2f894560413db9bf8efc1febc26904937a28380f.tar.xz
yuzu-2f894560413db9bf8efc1febc26904937a28380f.zip
hle: kernel: KThread: Remove tracking of sync object from threads.
Diffstat (limited to 'src/core/hle/kernel/svc.cpp')
-rw-r--r--src/core/hle/kernel/svc.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp
index e5e879eb5..50c6e513d 100644
--- a/src/core/hle/kernel/svc.cpp
+++ b/src/core/hle/kernel/svc.cpp
@@ -325,8 +325,7 @@ static ResultCode SendSyncRequest(Core::System& system, Handle handle) {
325 } 325 }
326 } 326 }
327 327
328 KSynchronizationObject* dummy{}; 328 return thread->GetWaitResult();
329 return thread->GetWaitResult(std::addressof(dummy));
330} 329}
331 330
332static ResultCode SendSyncRequest32(Core::System& system, Handle handle) { 331static ResultCode SendSyncRequest32(Core::System& system, Handle handle) {