diff options
author | bunnei <bunneidev@gmail.com> | 2016-05-06 03:34:10 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2016-05-06 03:34:10 +0200 |
commit | 4cb2995c6159a5c6508ea0571ffa5fc5bcd21a47 (patch) | |
tree | 55d392fefbc402deaf20ac00f0655d7334da92fe | |
parent | hle: Get rid of global access to g_reschedule (diff) | |
download | yuzu-4cb2995c6159a5c6508ea0571ffa5fc5bcd21a47.tar yuzu-4cb2995c6159a5c6508ea0571ffa5fc5bcd21a47.tar.gz yuzu-4cb2995c6159a5c6508ea0571ffa5fc5bcd21a47.tar.bz2 yuzu-4cb2995c6159a5c6508ea0571ffa5fc5bcd21a47.tar.lz yuzu-4cb2995c6159a5c6508ea0571ffa5fc5bcd21a47.tar.xz yuzu-4cb2995c6159a5c6508ea0571ffa5fc5bcd21a47.tar.zst yuzu-4cb2995c6159a5c6508ea0571ffa5fc5bcd21a47.zip |
-rw-r--r-- | src/core/core.cpp | 2 | ||||
-rw-r--r-- | src/core/hle/hle.cpp | 2 | ||||
-rw-r--r-- | src/core/hle/hle.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index 609ca860d..a156682aa 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -52,7 +52,7 @@ void RunLoop(int tight_loop) { } HW::Update(); - if (HLE::RescheduleIsPending()) { + if (HLE::IsReschedulePending()) { Kernel::Reschedule(); } } diff --git a/src/core/hle/hle.cpp b/src/core/hle/hle.cpp index 3b1369800..96d3ec05b 100644 --- a/src/core/hle/hle.cpp +++ b/src/core/hle/hle.cpp @@ -36,7 +36,7 @@ void Reschedule(const char *reason) { reschedule = true; } -bool RescheduleIsPending() { +bool IsReschedulePending() { return reschedule; } 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(); |