diff options
author | Lioncash <mathew1800@gmail.com> | 2019-04-17 13:21:19 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-04-17 15:30:56 +0200 |
commit | c268ffd831bc8771585934e7e24da0f7e150936e (patch) | |
tree | ee35a6da18561f3b3d7a43a37081f7f175e62314 /src/core/hle/kernel/kernel.cpp | |
parent | kernel/svc: Migrate svcCancelSynchronization behavior to a thread function (diff) | |
download | yuzu-c268ffd831bc8771585934e7e24da0f7e150936e.tar yuzu-c268ffd831bc8771585934e7e24da0f7e150936e.tar.gz yuzu-c268ffd831bc8771585934e7e24da0f7e150936e.tar.bz2 yuzu-c268ffd831bc8771585934e7e24da0f7e150936e.tar.lz yuzu-c268ffd831bc8771585934e7e24da0f7e150936e.tar.xz yuzu-c268ffd831bc8771585934e7e24da0f7e150936e.tar.zst yuzu-c268ffd831bc8771585934e7e24da0f7e150936e.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 4d58e7c69..a38ee117b 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()) { |