diff options
author | bunnei <bunneidev@gmail.com> | 2019-04-25 04:56:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-25 04:56:08 +0200 |
commit | 78574e7a470a29e7ef0c1cc062d334d133c60830 (patch) | |
tree | 9027d3466f0f588c5f14af0e23c7f7b128c79330 /src/core/hle/kernel/kernel.cpp | |
parent | Merge pull request #2424 from FernandoS27/compat (diff) | |
parent | kernel/thread: Unify wait synchronization types (diff) | |
download | yuzu-78574e7a470a29e7ef0c1cc062d334d133c60830.tar yuzu-78574e7a470a29e7ef0c1cc062d334d133c60830.tar.gz yuzu-78574e7a470a29e7ef0c1cc062d334d133c60830.tar.bz2 yuzu-78574e7a470a29e7ef0c1cc062d334d133c60830.tar.lz yuzu-78574e7a470a29e7ef0c1cc062d334d133c60830.tar.xz yuzu-78574e7a470a29e7ef0c1cc062d334d133c60830.tar.zst yuzu-78574e7a470a29e7ef0c1cc062d334d133c60830.zip |
Diffstat (limited to 'src/core/hle/kernel/kernel.cpp')
-rw-r--r-- | src/core/hle/kernel/kernel.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/kernel/kernel.cpp b/src/core/hle/kernel/kernel.cpp index 8539fabe4..757e5f21f 100644 --- a/src/core/hle/kernel/kernel.cpp +++ b/src/core/hle/kernel/kernel.cpp @@ -46,8 +46,7 @@ static void ThreadWakeupCallback(u64 thread_handle, [[maybe_unused]] s64 cycles_ bool resume = true; - if (thread->GetStatus() == ThreadStatus::WaitSynchAny || - thread->GetStatus() == ThreadStatus::WaitSynchAll || + if (thread->GetStatus() == ThreadStatus::WaitSynch || thread->GetStatus() == ThreadStatus::WaitHLEEvent) { // Remove the thread from each of its waiting objects' waitlists for (const auto& object : thread->GetWaitObjects()) { |