diff options
author | bunnei <bunneidev@gmail.com> | 2020-01-31 00:13:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-31 00:13:59 +0100 |
commit | 985d0f35e55f0752c6e147d0140b367708499cb4 (patch) | |
tree | 119249aee3acc2cc2ee6a5d391288b52c126765b /src/core/hle/kernel/thread.cpp | |
parent | Merge pull request #3151 from FearlessTobi/fix-korean (diff) | |
parent | System: Address Feedback (diff) | |
download | yuzu-985d0f35e55f0752c6e147d0140b367708499cb4.tar yuzu-985d0f35e55f0752c6e147d0140b367708499cb4.tar.gz yuzu-985d0f35e55f0752c6e147d0140b367708499cb4.tar.bz2 yuzu-985d0f35e55f0752c6e147d0140b367708499cb4.tar.lz yuzu-985d0f35e55f0752c6e147d0140b367708499cb4.tar.xz yuzu-985d0f35e55f0752c6e147d0140b367708499cb4.tar.zst yuzu-985d0f35e55f0752c6e147d0140b367708499cb4.zip |
Diffstat (limited to 'src/core/hle/kernel/thread.cpp')
-rw-r--r-- | src/core/hle/kernel/thread.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index e84e5ce0d..e965b5b04 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp @@ -13,7 +13,6 @@ #include "common/thread_queue_list.h" #include "core/arm/arm_interface.h" #include "core/core.h" -#include "core/core_cpu.h" #include "core/core_timing.h" #include "core/core_timing_util.h" #include "core/hle/kernel/errors.h" @@ -356,7 +355,7 @@ void Thread::SetActivity(ThreadActivity value) { // Set status if not waiting if (status == ThreadStatus::Ready || status == ThreadStatus::Running) { SetStatus(ThreadStatus::Paused); - Core::System::GetInstance().CpuCore(processor_id).PrepareReschedule(); + kernel.PrepareReschedule(processor_id); } } else if (status == ThreadStatus::Paused) { // Ready to reschedule |