aboutsummaryrefslogtreecommitdiff
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2016-03-21 02:48:40 -0400
committerLioncash <mathew1800@gmail.com>2016-03-21 02:57:12 -0400
commit6b7ebb3f82ae9674f2a4d66e870a53102b412003 (patch)
tree6b6f018c35d6c8245a2944bca6f5d1209410490b /src/core/core.cpp
parentb83e95727f95fa6fe35d436be3e821605244a6a8 (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/core.cpp')
-rw-r--r--src/core/core.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index 84d6c392ed..609ca860db 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -52,7 +52,7 @@ void RunLoop(int tight_loop) {
}
HW::Update();
- if (HLE::g_reschedule) {
+ if (HLE::RescheduleIsPending()) {
Kernel::Reschedule();
}
}