summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/wait_object.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-04-02 15:22:53 +0200
committerFernandoS27 <fsahmkow27@gmail.com>2019-10-15 17:55:12 +0200
commitfcc6b34fff3c9322a35e6457a699e70585a7e014 (patch)
tree7fbd96994170ff2707f65e42dc6a4832c6531d07 /src/core/hle/kernel/wait_object.cpp
parentComment and reorganize the scheduler (diff)
downloadyuzu-fcc6b34fff3c9322a35e6457a699e70585a7e014.tar
yuzu-fcc6b34fff3c9322a35e6457a699e70585a7e014.tar.gz
yuzu-fcc6b34fff3c9322a35e6457a699e70585a7e014.tar.bz2
yuzu-fcc6b34fff3c9322a35e6457a699e70585a7e014.tar.lz
yuzu-fcc6b34fff3c9322a35e6457a699e70585a7e014.tar.xz
yuzu-fcc6b34fff3c9322a35e6457a699e70585a7e014.tar.zst
yuzu-fcc6b34fff3c9322a35e6457a699e70585a7e014.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/kernel/wait_object.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/kernel/wait_object.cpp b/src/core/hle/kernel/wait_object.cpp
index e035a67e9..a65ec7dbc 100644
--- a/src/core/hle/kernel/wait_object.cpp
+++ b/src/core/hle/kernel/wait_object.cpp
@@ -97,8 +97,7 @@ void WaitObject::WakeupWaitingThread(SharedPtr<Thread> thread) {
}
if (resume) {
thread->ResumeFromWait();
- if (thread->GetProcessorID() >= 0)
- Core::System::GetInstance().CpuCore(thread->GetProcessorID()).PrepareReschedule();
+ Core::System::GetInstance().PrepareReschedule(thread->GetProcessorID());
}
}