diff options
author | bunnei <bunneidev@gmail.com> | 2020-04-17 05:30:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-17 05:30:32 +0200 |
commit | 86f9c9aa1c38c8fd52963209623ec37e895803d3 (patch) | |
tree | 83101161353d4ed87dd59307225f6268c95ce161 /src/core | |
parent | Merge pull request #3673 from lioncash/extra (diff) | |
parent | kernel/thread: Resolve -Wswitch warnings (diff) | |
download | yuzu-86f9c9aa1c38c8fd52963209623ec37e895803d3.tar yuzu-86f9c9aa1c38c8fd52963209623ec37e895803d3.tar.gz yuzu-86f9c9aa1c38c8fd52963209623ec37e895803d3.tar.bz2 yuzu-86f9c9aa1c38c8fd52963209623ec37e895803d3.tar.lz yuzu-86f9c9aa1c38c8fd52963209623ec37e895803d3.tar.xz yuzu-86f9c9aa1c38c8fd52963209623ec37e895803d3.tar.zst yuzu-86f9c9aa1c38c8fd52963209623ec37e895803d3.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/hle/kernel/thread.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index 83e956036..4c0451c01 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp @@ -85,6 +85,7 @@ void Thread::ResumeFromWait() { ASSERT_MSG(wait_objects.empty(), "Thread is waking up while waiting for objects"); switch (status) { + case ThreadStatus::Paused: case ThreadStatus::WaitSynch: case ThreadStatus::WaitHLEEvent: case ThreadStatus::WaitSleep: @@ -92,6 +93,7 @@ void Thread::ResumeFromWait() { case ThreadStatus::WaitMutex: case ThreadStatus::WaitCondVar: case ThreadStatus::WaitArb: + case ThreadStatus::Dormant: break; case ThreadStatus::Ready: |