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
b83e95727f
commit
6b7ebb3f82
4 changed files with 21 additions and 8 deletions
|
@ -13,9 +13,9 @@ const Handle INVALID_HANDLE = 0;
|
|||
|
||||
namespace HLE {
|
||||
|
||||
extern bool g_reschedule; ///< If true, immediately reschedules the CPU to a new thread
|
||||
|
||||
void Reschedule(const char *reason);
|
||||
bool RescheduleIsPending();
|
||||
void DoneRescheduling();
|
||||
|
||||
void Init();
|
||||
void Shutdown();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue