mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 22:45:45 +00: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:
parent
ddb87c0f95
commit
76f892ebb9
4 changed files with 21 additions and 8 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue