diff options
| author | 2016-03-21 02:48:40 -0400 | |
|---|---|---|
| committer | 2016-03-21 02:57:12 -0400 | |
| commit | 6b7ebb3f82ae9674f2a4d66e870a53102b412003 (patch) | |
| tree | 6b6f018c35d6c8245a2944bca6f5d1209410490b /src/core/core.cpp | |
| parent | Merge pull request #1302 from Subv/save_fix (diff) | |
| download | yuzu-6b7ebb3f82ae9674f2a4d66e870a53102b412003.tar.gz yuzu-6b7ebb3f82ae9674f2a4d66e870a53102b412003.tar.xz yuzu-6b7ebb3f82ae9674f2a4d66e870a53102b412003.zip | |
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.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index 84d6c392e..609ca860d 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp | |||
| @@ -52,7 +52,7 @@ void RunLoop(int tight_loop) { | |||
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | HW::Update(); | 54 | HW::Update(); |
| 55 | if (HLE::g_reschedule) { | 55 | if (HLE::RescheduleIsPending()) { |
| 56 | Kernel::Reschedule(); | 56 | Kernel::Reschedule(); |
| 57 | } | 57 | } |
| 58 | } | 58 | } |