diff options
author | bunnei <bunneidev@gmail.com> | 2022-09-15 22:50:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-15 22:50:13 +0200 |
commit | e85bda5f31763359b69fbcad5c121995e1ad7074 (patch) | |
tree | cd9e85c7fabb334f2d19c20e3eb36c22e1883a21 /src/core/core_timing.h | |
parent | Merge pull request #8902 from Morph1984/new_sd_icons (diff) | |
parent | Remove pause callbacks from coretiming (diff) | |
download | yuzu-e85bda5f31763359b69fbcad5c121995e1ad7074.tar yuzu-e85bda5f31763359b69fbcad5c121995e1ad7074.tar.gz yuzu-e85bda5f31763359b69fbcad5c121995e1ad7074.tar.bz2 yuzu-e85bda5f31763359b69fbcad5c121995e1ad7074.tar.lz yuzu-e85bda5f31763359b69fbcad5c121995e1ad7074.tar.xz yuzu-e85bda5f31763359b69fbcad5c121995e1ad7074.tar.zst yuzu-e85bda5f31763359b69fbcad5c121995e1ad7074.zip |
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. |