diff options
| author | 2016-05-05 21:45:57 -0400 | |
|---|---|---|
| committer | 2016-05-05 21:45:57 -0400 | |
| commit | 75cbfeee58cd3062cd097dbd355cbd51b840f326 (patch) | |
| tree | f23ca2b0fc619b2648e3f298a18bfb15f3a8067a /src/core/hle/kernel/thread.cpp | |
| parent | Merge pull request #1700 from wwylele/gamelist-icon (diff) | |
| parent | HLE: Rename RescheduleIsPending to IsReschedulePending. (diff) | |
| download | yuzu-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.cpp | 3 |
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) |