hle: kernel: KThread: Decrease DummyThread priority to ensure it is never scheduled.

This commit is contained in:
bunnei 2022-01-17 18:48:14 -08:00
parent db3c11506b
commit 668af26696
3 changed files with 5 additions and 2 deletions

View file

@ -741,6 +741,7 @@ void KScheduler::ScheduleImpl() {
// We never want to schedule a dummy thread, as these are only used by host threads for locking.
if (next_thread->GetThreadType() == ThreadType::Dummy) {
ASSERT_MSG(false, "Dummy threads should never be scheduled!");
next_thread = idle_thread;
}