diff options
author | Lioncash <mathew1800@gmail.com> | 2020-02-12 07:00:39 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-02-12 07:00:41 +0100 |
commit | b80c348b096623b8cef368d923b13d763f67954d (patch) | |
tree | a1e01a5df61f534f0b3cc17323bd3e78a653de03 /src/core/hle | |
parent | Merge pull request #3376 from ReinUsesLisp/point-sprite (diff) | |
download | yuzu-b80c348b096623b8cef368d923b13d763f67954d.tar yuzu-b80c348b096623b8cef368d923b13d763f67954d.tar.gz yuzu-b80c348b096623b8cef368d923b13d763f67954d.tar.bz2 yuzu-b80c348b096623b8cef368d923b13d763f67954d.tar.lz yuzu-b80c348b096623b8cef368d923b13d763f67954d.tar.xz yuzu-b80c348b096623b8cef368d923b13d763f67954d.tar.zst yuzu-b80c348b096623b8cef368d923b13d763f67954d.zip |
Diffstat (limited to 'src/core/hle')
-rw-r--r-- | src/core/hle/kernel/thread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index e965b5b04..ad464e03b 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp @@ -474,7 +474,7 @@ void Thread::AdjustSchedulingOnPriority(u32 old_priority) { if (GetSchedulingStatus() != ThreadSchedStatus::Runnable) { return; } - auto& scheduler = Core::System::GetInstance().GlobalScheduler(); + auto& scheduler = kernel.GlobalScheduler(); if (processor_id >= 0) { scheduler.Unschedule(old_priority, static_cast<u32>(processor_id), this); } @@ -506,7 +506,7 @@ void Thread::AdjustSchedulingOnPriority(u32 old_priority) { } void Thread::AdjustSchedulingOnAffinity(u64 old_affinity_mask, s32 old_core) { - auto& scheduler = Core::System::GetInstance().GlobalScheduler(); + auto& scheduler = kernel.GlobalScheduler(); if (GetSchedulingStatus() != ThreadSchedStatus::Runnable || current_priority >= THREADPRIO_COUNT) { return; |