diff options
| author | 2020-02-10 14:45:08 -0400 | |
|---|---|---|
| committer | 2020-06-18 16:29:21 -0400 | |
| commit | 1f7dd36499786d373b143a4437d4c32e077a32aa (patch) | |
| tree | 26d21b113d85c6630f3ff67f7affc7c1b6f508a5 /src/core/host_timing.h | |
| parent | Common: Make MinGW build use Windows Fibers instead of fcontext_t (diff) | |
| download | yuzu-1f7dd36499786d373b143a4437d4c32e077a32aa.tar.gz yuzu-1f7dd36499786d373b143a4437d4c32e077a32aa.tar.xz yuzu-1f7dd36499786d373b143a4437d4c32e077a32aa.zip | |
Common/Tests: Address Feedback
Diffstat (limited to 'src/core/host_timing.h')
| -rw-r--r-- | src/core/host_timing.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/host_timing.h b/src/core/host_timing.h index 15a150904..679fcf491 100644 --- a/src/core/host_timing.h +++ b/src/core/host_timing.h | |||
| @@ -72,15 +72,15 @@ public: | |||
| 72 | void SyncPause(bool is_paused); | 72 | void SyncPause(bool is_paused); |
| 73 | 73 | ||
| 74 | /// Checks if core timing is running. | 74 | /// Checks if core timing is running. |
| 75 | bool IsRunning(); | 75 | bool IsRunning() const; |
| 76 | 76 | ||
| 77 | /// Checks if the timer thread has started. | 77 | /// Checks if the timer thread has started. |
| 78 | bool HasStarted() { | 78 | bool HasStarted() const { |
| 79 | return has_started; | 79 | return has_started; |
| 80 | } | 80 | } |
| 81 | 81 | ||
| 82 | /// Checks if there are any pending time events. | 82 | /// Checks if there are any pending time events. |
| 83 | bool HasPendingEvents(); | 83 | bool HasPendingEvents() const; |
| 84 | 84 | ||
| 85 | /// Schedules an event in core timing | 85 | /// Schedules an event in core timing |
| 86 | void ScheduleEvent(s64 ns_into_future, const std::shared_ptr<EventType>& event_type, | 86 | void ScheduleEvent(s64 ns_into_future, const std::shared_ptr<EventType>& event_type, |