diff options
| author | Lioncash <mathew1800@gmail.com> | 2016-03-21 02:48:40 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2016-03-21 02:57:12 -0400 |
| commit | 76f892ebb9f32e5cf64d7d4a6488a0b47a34e1c5 (patch) | |
| tree | 6b6f018c35d6c8245a2944bca6f5d1209410490b /src/core/hle/kernel/thread.cpp | |
| parent | ddb87c0f9582963d9b625fc52cfe0cce60bdf310 (diff) | |
hle: Get rid of global access to g_reschedule
This shouldn't be directly exposed if there's already a partial API that operates on it.
We can just provide the rest of that API.
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 bf32f653d5..6dc95d0f11 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp @@ -483,7 +483,8 @@ void Reschedule() { Thread* cur = GetCurrentThread(); Thread* next = PopNextReadyThread(); - HLE::g_reschedule = false; + + HLE::DoneRescheduling(); // Don't bother switching to the same thread if (next == cur) |
