summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/thread.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2016-05-05 21:45:57 -0400
committerGravatar bunnei2016-05-05 21:45:57 -0400
commit75cbfeee58cd3062cd097dbd355cbd51b840f326 (patch)
treef23ca2b0fc619b2648e3f298a18bfb15f3a8067a /src/core/hle/kernel/thread.cpp
parentMerge pull request #1700 from wwylele/gamelist-icon (diff)
parentHLE: Rename RescheduleIsPending to IsReschedulePending. (diff)
downloadyuzu-75cbfeee58cd3062cd097dbd355cbd51b840f326.tar.gz
yuzu-75cbfeee58cd3062cd097dbd355cbd51b840f326.tar.xz
yuzu-75cbfeee58cd3062cd097dbd355cbd51b840f326.zip
Merge pull request #1762 from bunnei/global
hle: Get rid of direct global access to g_reschedule
Diffstat (limited to 'src/core/hle/kernel/thread.cpp')
-rw-r--r--src/core/hle/kernel/thread.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp
index bf32f653d..6dc95d0f1 100644
--- a/src/core/hle/kernel/thread.cpp
+++ b/src/core/hle/kernel/thread.cpp
@@ -483,7 +483,8 @@ void Reschedule() {
483 483
484 Thread* cur = GetCurrentThread(); 484 Thread* cur = GetCurrentThread();
485 Thread* next = PopNextReadyThread(); 485 Thread* next = PopNextReadyThread();
486 HLE::g_reschedule = false; 486
487 HLE::DoneRescheduling();
487 488
488 // Don't bother switching to the same thread 489 // Don't bother switching to the same thread
489 if (next == cur) 490 if (next == cur)