summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-04-17 05:30:32 +0200
committerGitHub <noreply@github.com>2020-04-17 05:30:32 +0200
commit86f9c9aa1c38c8fd52963209623ec37e895803d3 (patch)
tree83101161353d4ed87dd59307225f6268c95ce161
parentMerge pull request #3673 from lioncash/extra (diff)
parentkernel/thread: Resolve -Wswitch warnings (diff)
downloadyuzu-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
-rw-r--r--src/core/hle/kernel/thread.cpp2
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: