mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-23 18:45:42 +01:00
Merge pull request #3671 from lioncash/switch
kernel/thread: Resolve -Wswitch warnings
This commit is contained in:
commit
86f9c9aa1c
@ -85,6 +85,7 @@ void Thread::ResumeFromWait() {
|
|||||||
ASSERT_MSG(wait_objects.empty(), "Thread is waking up while waiting for objects");
|
ASSERT_MSG(wait_objects.empty(), "Thread is waking up while waiting for objects");
|
||||||
|
|
||||||
switch (status) {
|
switch (status) {
|
||||||
|
case ThreadStatus::Paused:
|
||||||
case ThreadStatus::WaitSynch:
|
case ThreadStatus::WaitSynch:
|
||||||
case ThreadStatus::WaitHLEEvent:
|
case ThreadStatus::WaitHLEEvent:
|
||||||
case ThreadStatus::WaitSleep:
|
case ThreadStatus::WaitSleep:
|
||||||
@ -92,6 +93,7 @@ void Thread::ResumeFromWait() {
|
|||||||
case ThreadStatus::WaitMutex:
|
case ThreadStatus::WaitMutex:
|
||||||
case ThreadStatus::WaitCondVar:
|
case ThreadStatus::WaitCondVar:
|
||||||
case ThreadStatus::WaitArb:
|
case ThreadStatus::WaitArb:
|
||||||
|
case ThreadStatus::Dormant:
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case ThreadStatus::Ready:
|
case ThreadStatus::Ready:
|
||||||
|
Loading…
Reference in New Issue
Block a user