diff options
Diffstat (limited to 'src/core/hle/kernel/synchronization.cpp')
| -rw-r--r-- | src/core/hle/kernel/synchronization.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/kernel/synchronization.cpp b/src/core/hle/kernel/synchronization.cpp index ac43a7094..a7e3fbe92 100644 --- a/src/core/hle/kernel/synchronization.cpp +++ b/src/core/hle/kernel/synchronization.cpp | |||
| @@ -74,7 +74,9 @@ std::pair<ResultCode, Handle> Synchronization::WaitFor( | |||
| 74 | thread->SetSynchronizationObjects(&sync_objects); | 74 | thread->SetSynchronizationObjects(&sync_objects); |
| 75 | thread->SetSynchronizationResults(nullptr, RESULT_TIMEOUT); | 75 | thread->SetSynchronizationResults(nullptr, RESULT_TIMEOUT); |
| 76 | thread->SetStatus(ThreadStatus::WaitSynch); | 76 | thread->SetStatus(ThreadStatus::WaitSynch); |
| 77 | thread->SetWaitingSync(true); | ||
| 77 | } | 78 | } |
| 79 | thread->SetWaitingSync(false); | ||
| 78 | 80 | ||
| 79 | if (event_handle != InvalidHandle) { | 81 | if (event_handle != InvalidHandle) { |
| 80 | auto& time_manager = kernel.TimeManager(); | 82 | auto& time_manager = kernel.TimeManager(); |