diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-03-20 01:57:31 +0100 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2019-03-20 03:43:13 +0100 |
commit | 9c7319a4d423a20c45cd8d7898c2f73659526d33 (patch) | |
tree | 04113e5a14cd55e88b2866c9d2f33e6fb59858dd /src/core/hle/kernel/kernel.cpp | |
parent | Add CondVar Thread State. (diff) | |
download | yuzu-9c7319a4d423a20c45cd8d7898c2f73659526d33.tar yuzu-9c7319a4d423a20c45cd8d7898c2f73659526d33.tar.gz yuzu-9c7319a4d423a20c45cd8d7898c2f73659526d33.tar.bz2 yuzu-9c7319a4d423a20c45cd8d7898c2f73659526d33.tar.lz yuzu-9c7319a4d423a20c45cd8d7898c2f73659526d33.tar.xz yuzu-9c7319a4d423a20c45cd8d7898c2f73659526d33.tar.zst yuzu-9c7319a4d423a20c45cd8d7898c2f73659526d33.zip |
Diffstat (limited to 'src/core/hle/kernel/kernel.cpp')
-rw-r--r-- | src/core/hle/kernel/kernel.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/kernel/kernel.cpp b/src/core/hle/kernel/kernel.cpp index 6a7793a3a..8de62d073 100644 --- a/src/core/hle/kernel/kernel.cpp +++ b/src/core/hle/kernel/kernel.cpp @@ -62,7 +62,8 @@ static void ThreadWakeupCallback(u64 thread_handle, [[maybe_unused]] int cycles_ if (thread->GetMutexWaitAddress() != 0 || thread->GetCondVarWaitAddress() != 0 || thread->GetWaitHandle() != 0) { - ASSERT(thread->GetStatus() == ThreadStatus::WaitMutex || thread->GetStatus() == ThreadStatus::WaitCondVar); + ASSERT(thread->GetStatus() == ThreadStatus::WaitMutex || + thread->GetStatus() == ThreadStatus::WaitCondVar); thread->SetMutexWaitAddress(0); thread->SetCondVarWaitAddress(0); thread->SetWaitHandle(0); |