diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-02-10 19:45:08 +0100 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-06-18 22:29:21 +0200 |
commit | 1f7dd36499786d373b143a4437d4c32e077a32aa (patch) | |
tree | 26d21b113d85c6630f3ff67f7affc7c1b6f508a5 /src/core/host_timing.cpp | |
parent | Common: Make MinGW build use Windows Fibers instead of fcontext_t (diff) | |
download | yuzu-1f7dd36499786d373b143a4437d4c32e077a32aa.tar yuzu-1f7dd36499786d373b143a4437d4c32e077a32aa.tar.gz yuzu-1f7dd36499786d373b143a4437d4c32e077a32aa.tar.bz2 yuzu-1f7dd36499786d373b143a4437d4c32e077a32aa.tar.lz yuzu-1f7dd36499786d373b143a4437d4c32e077a32aa.tar.xz yuzu-1f7dd36499786d373b143a4437d4c32e077a32aa.tar.zst yuzu-1f7dd36499786d373b143a4437d4c32e077a32aa.zip |
Diffstat (limited to 'src/core/host_timing.cpp')
-rw-r--r-- | src/core/host_timing.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/host_timing.cpp b/src/core/host_timing.cpp index c734a118e..be80d9f8e 100644 --- a/src/core/host_timing.cpp +++ b/src/core/host_timing.cpp @@ -76,11 +76,11 @@ void CoreTiming::SyncPause(bool is_paused) { ; } -bool CoreTiming::IsRunning() { +bool CoreTiming::IsRunning() const { return !paused_set; } -bool CoreTiming::HasPendingEvents() { +bool CoreTiming::HasPendingEvents() const { return !(wait_set && event_queue.empty()); } |