Merge pull request #1762 from bunnei/global

hle: Get rid of direct global access to g_reschedule
This commit is contained in:
bunnei 2016-05-05 21:45:57 -04:00
commit 75cbfeee58
4 changed files with 21 additions and 8 deletions

View file

@ -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)