diff options
| author | 2021-11-09 19:21:20 -0800 | |
|---|---|---|
| committer | 2021-12-06 16:39:17 -0800 | |
| commit | 2f894560413db9bf8efc1febc26904937a28380f (patch) | |
| tree | 7ba9a6d13f96fc531973dc2015c3c7f2469e8677 /src/core/hle/kernel/svc.cpp | |
| parent | hle: kernel: Update KThreadQueue and migrate KSynchronizationObject. (diff) | |
| download | yuzu-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.cpp | 3 |
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 | ||
| 332 | static ResultCode SendSyncRequest32(Core::System& system, Handle handle) { | 331 | static ResultCode SendSyncRequest32(Core::System& system, Handle handle) { |