diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-10-10 14:04:14 +0200 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2019-10-15 17:55:20 +0200 |
commit | 1c6a11ab142d18c3444629940f183b7c1865a5e2 (patch) | |
tree | 3441b0285be95f9341852b86c383880151c38704 /src/core/hle/kernel/thread.h | |
parent | Kernel: Correct redundant yields to only advance time forward. (diff) | |
download | yuzu-1c6a11ab142d18c3444629940f183b7c1865a5e2.tar yuzu-1c6a11ab142d18c3444629940f183b7c1865a5e2.tar.gz yuzu-1c6a11ab142d18c3444629940f183b7c1865a5e2.tar.bz2 yuzu-1c6a11ab142d18c3444629940f183b7c1865a5e2.tar.lz yuzu-1c6a11ab142d18c3444629940f183b7c1865a5e2.tar.xz yuzu-1c6a11ab142d18c3444629940f183b7c1865a5e2.tar.zst yuzu-1c6a11ab142d18c3444629940f183b7c1865a5e2.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/thread.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h index 4d220c4f9..ceb4d5159 100644 --- a/src/core/hle/kernel/thread.h +++ b/src/core/hle/kernel/thread.h @@ -319,6 +319,9 @@ public: } void ClearWaitObjects() { + for (const auto& waiting_object : wait_objects) { + waiting_object->RemoveWaitingThread(this); + } wait_objects.clear(); } |