diff options
| author | bunnei <bunneidev@gmail.com> | 2022-09-15 13:50:13 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-15 13:50:13 -0700 |
| commit | e85bda5f31763359b69fbcad5c121995e1ad7074 (patch) | |
| tree | cd9e85c7fabb334f2d19c20e3eb36c22e1883a21 /src/core/core_timing.h | |
| parent | b5a06bc419a4baf21e22f69c4b6e61e0d2137e5b (diff) | |
| parent | e93e898df528d013e2e0cfeba22e2b6d76bf99b6 (diff) | |
Merge pull request #8878 from Kelebek1/remove_pause
Remove pause callbacks from coretiming
Diffstat (limited to 'src/core/core_timing.h')
| -rw-r--r-- | src/core/core_timing.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/core/core_timing.h b/src/core/core_timing.h index 6aa3ae923..3259397b2 100644 --- a/src/core/core_timing.h +++ b/src/core/core_timing.h @@ -22,7 +22,6 @@ namespace Core::Timing { /// A callback that may be scheduled for a particular core timing event. using TimedCallback = std::function<std::optional<std::chrono::nanoseconds>( std::uintptr_t user_data, s64 time, std::chrono::nanoseconds ns_late)>; -using PauseCallback = std::function<void(bool paused)>; /// Contains the characteristics of a particular event. struct EventType { @@ -134,9 +133,6 @@ public: /// Checks for events manually and returns time in nanoseconds for next event, threadsafe. std::optional<s64> Advance(); - /// Register a callback function to be called when coretiming pauses. - void RegisterPauseCallback(PauseCallback&& callback); - private: struct Event; @@ -176,8 +172,6 @@ private: /// Cycle timing u64 ticks{}; s64 downcount{}; - - std::vector<PauseCallback> pause_callbacks{}; }; /// Creates a core timing event with the given name and callback. |
