From 6b7ebb3f82ae9674f2a4d66e870a53102b412003 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 21 Mar 2016 02:48:40 -0400 Subject: 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. --- src/core/hle/hle.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/hle/hle.h') 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(); -- cgit v1.2.3 From 4cb2995c6159a5c6508ea0571ffa5fc5bcd21a47 Mon Sep 17 00:00:00 2001 From: bunnei Date: Thu, 5 May 2016 21:34:10 -0400 Subject: HLE: Rename RescheduleIsPending to IsReschedulePending. --- src/core/hle/hle.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/hle/hle.h') diff --git a/src/core/hle/hle.h b/src/core/hle/hle.h index 58dffe587..69ac0ade6 100644 --- a/src/core/hle/hle.h +++ b/src/core/hle/hle.h @@ -14,7 +14,7 @@ const Handle INVALID_HANDLE = 0; namespace HLE { void Reschedule(const char *reason); -bool RescheduleIsPending(); +bool IsReschedulePending(); void DoneRescheduling(); void Init(); -- cgit v1.2.3