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:
Lioncash 2016-03-21 02:48:40 -04:00
parent b83e95727f
commit 6b7ebb3f82
4 changed files with 21 additions and 8 deletions

View file

@ -52,7 +52,7 @@ void RunLoop(int tight_loop) {
}
HW::Update();
if (HLE::g_reschedule) {
if (HLE::RescheduleIsPending()) {
Kernel::Reschedule();
}
}