diff options
| author | 2019-03-13 19:55:04 -0400 | |
|---|---|---|
| committer | 2019-03-19 20:32:47 -0400 | |
| commit | acbdfdae644ad56ca94318758f57e406350586ce (patch) | |
| tree | 472bd8e0001d74d59cce42ec47a5f01fe6910990 /src/core/hle/kernel/kernel.cpp | |
| parent | Small fixes to address_arbiter to better match the IDB. (diff) | |
| download | yuzu-acbdfdae644ad56ca94318758f57e406350586ce.tar.gz yuzu-acbdfdae644ad56ca94318758f57e406350586ce.tar.xz yuzu-acbdfdae644ad56ca94318758f57e406350586ce.zip | |
Add CondVar Thread State.
Diffstat (limited to 'src/core/hle/kernel/kernel.cpp')
| -rw-r--r-- | src/core/hle/kernel/kernel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/kernel.cpp b/src/core/hle/kernel/kernel.cpp index 4d224d01d..6a7793a3a 100644 --- a/src/core/hle/kernel/kernel.cpp +++ b/src/core/hle/kernel/kernel.cpp | |||
| @@ -62,7 +62,7 @@ static void ThreadWakeupCallback(u64 thread_handle, [[maybe_unused]] int cycles_ | |||
| 62 | 62 | ||
| 63 | if (thread->GetMutexWaitAddress() != 0 || thread->GetCondVarWaitAddress() != 0 || | 63 | if (thread->GetMutexWaitAddress() != 0 || thread->GetCondVarWaitAddress() != 0 || |
| 64 | thread->GetWaitHandle() != 0) { | 64 | thread->GetWaitHandle() != 0) { |
| 65 | ASSERT(thread->GetStatus() == ThreadStatus::WaitMutex); | 65 | ASSERT(thread->GetStatus() == ThreadStatus::WaitMutex || thread->GetStatus() == ThreadStatus::WaitCondVar); |
| 66 | thread->SetMutexWaitAddress(0); | 66 | thread->SetMutexWaitAddress(0); |
| 67 | thread->SetCondVarWaitAddress(0); | 67 | thread->SetCondVarWaitAddress(0); |
| 68 | thread->SetWaitHandle(0); | 68 | thread->SetWaitHandle(0); |