diff options
| author | 2020-02-25 12:28:55 -0400 | |
|---|---|---|
| committer | 2020-06-27 11:35:10 -0400 | |
| commit | 18dcb0934217628711c5b1d22fd6d7635e683e3f (patch) | |
| tree | 426f78eb11aa79e0d1c7470b966fbae8ea8e3e6d /src/common/wall_clock.cpp | |
| parent | AudioCore: Use nanoseconds instead of cycles for buffer time. (diff) | |
| download | yuzu-18dcb0934217628711c5b1d22fd6d7635e683e3f.tar.gz yuzu-18dcb0934217628711c5b1d22fd6d7635e683e3f.tar.xz yuzu-18dcb0934217628711c5b1d22fd6d7635e683e3f.zip | |
HostTiming: Pause the hardware clock on pause.
Diffstat (limited to 'src/common/wall_clock.cpp')
| -rw-r--r-- | src/common/wall_clock.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/wall_clock.cpp b/src/common/wall_clock.cpp index d4d35f4e7..a46db6bbf 100644 --- a/src/common/wall_clock.cpp +++ b/src/common/wall_clock.cpp | |||
| @@ -53,6 +53,10 @@ public: | |||
| 53 | return Common::Divide128On32(temporary, 1000000000).first; | 53 | return Common::Divide128On32(temporary, 1000000000).first; |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | void Pause(bool is_paused) override { | ||
| 57 | // Do nothing in this clock type. | ||
| 58 | } | ||
| 59 | |||
| 56 | private: | 60 | private: |
| 57 | base_time_point start_time; | 61 | base_time_point start_time; |
| 58 | }; | 62 | }; |