Kernel: Remove global system accessor from WaitObject
This commit is contained in:
parent
0cf26cee59
commit
e05a8c2385
4 changed files with 17 additions and 2 deletions
|
@ -287,7 +287,7 @@ void GlobalScheduler::PreemptThreads() {
|
|||
if (current_thread != nullptr && current_thread->GetPriority() > priority) {
|
||||
for (auto& thread : suggested_queue[core_id]) {
|
||||
const s32 source_core = thread->GetProcessorID();
|
||||
if (thread->GetPriority() > priority) {
|
||||
if (thread->GetPriority() < priority) {
|
||||
continue;
|
||||
}
|
||||
if (source_core >= 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue