diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-03-09 15:51:05 +0100 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-06-27 17:35:43 +0200 |
commit | 8a78fc25802b8f69d073b703728a3501c98bf5e8 (patch) | |
tree | f6e0bb356f808df054f45660de6ca86b21060912 /src/core/hle | |
parent | General: Initial Setup for Single Core. (diff) | |
download | yuzu-8a78fc25802b8f69d073b703728a3501c98bf5e8.tar yuzu-8a78fc25802b8f69d073b703728a3501c98bf5e8.tar.gz yuzu-8a78fc25802b8f69d073b703728a3501c98bf5e8.tar.bz2 yuzu-8a78fc25802b8f69d073b703728a3501c98bf5e8.tar.lz yuzu-8a78fc25802b8f69d073b703728a3501c98bf5e8.tar.xz yuzu-8a78fc25802b8f69d073b703728a3501c98bf5e8.tar.zst yuzu-8a78fc25802b8f69d073b703728a3501c98bf5e8.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/synchronization.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/hle/kernel/synchronization.cpp b/src/core/hle/kernel/synchronization.cpp index 275bf11cc..851b702a5 100644 --- a/src/core/hle/kernel/synchronization.cpp +++ b/src/core/hle/kernel/synchronization.cpp @@ -23,8 +23,10 @@ void Synchronization::SignalObject(SynchronizationObject& obj) const { if (obj.IsSignaled()) { for (auto thread : obj.GetWaitingThreads()) { if (thread->GetSchedulingStatus() == ThreadSchedStatus::Paused) { - ASSERT(thread->GetStatus() == ThreadStatus::WaitSynch); - ASSERT(thread->IsWaitingSync()); + if (thread->GetStatus() != ThreadStatus::WaitHLEEvent) { + ASSERT(thread->GetStatus() == ThreadStatus::WaitSynch); + ASSERT(thread->IsWaitingSync()); + } thread->SetSynchronizationResults(&obj, RESULT_SUCCESS); thread->ResumeFromWait(); } |