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 | 6b7ebb3f82ae9674f2a4d66e870a53102b412003 (patch) | |
| tree | 6b6f018c35d6c8245a2944bca6f5d1209410490b /src/core/hle/hle.h | |
| parent | b83e95727f95fa6fe35d436be3e821605244a6a8 (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/hle.h')
| -rw-r--r-- | src/core/hle/hle.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/hle.h b/src/core/hle/hle.h index e0b97797c..58dffe587 100644 --- a/src/core/hle/hle.h +++ b/src/core/hle/hle.h @@ -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(); |
