Fix bug introduced by #7797

This commit is contained in:
Eladash 2020-03-19 05:55:25 +02:00 committed by Ivan
parent 0bfdc1f62e
commit 7139c4fbab

View File

@ -1231,7 +1231,8 @@ bool lv2_obj::awake_unlocked(cpu_thread* cpu, s32 prio)
return true;
};
bool changed_queue = false;
// Yield changed the queue before
bool changed_queue = prio == yield_cmd;
if (cpu)
{