mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-13 16:28:34 -05:00
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.
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user