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 0b37e7cb39
commit 46a620f9d7
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;
}