summaryrefslogtreecommitdiff
path: root/src/core/core_timing.h
diff options
context:
space:
mode:
authorGravatar Fernando Sahmkow2020-02-25 12:28:55 -0400
committerGravatar Fernando Sahmkow2020-06-27 11:35:10 -0400
commit18dcb0934217628711c5b1d22fd6d7635e683e3f (patch)
tree426f78eb11aa79e0d1c7470b966fbae8ea8e3e6d /src/core/core_timing.h
parentAudioCore: Use nanoseconds instead of cycles for buffer time. (diff)
downloadyuzu-18dcb0934217628711c5b1d22fd6d7635e683e3f.tar.gz
yuzu-18dcb0934217628711c5b1d22fd6d7635e683e3f.tar.xz
yuzu-18dcb0934217628711c5b1d22fd6d7635e683e3f.zip
HostTiming: Pause the hardware clock on pause.
Diffstat (limited to 'src/core/core_timing.h')
-rw-r--r--src/core/core_timing.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/core_timing.h b/src/core/core_timing.h
index 707c8ef0c..c70b605c8 100644
--- a/src/core/core_timing.h
+++ b/src/core/core_timing.h
@@ -136,6 +136,7 @@ private:
136 136
137 std::shared_ptr<EventType> ev_lost; 137 std::shared_ptr<EventType> ev_lost;
138 Common::Event event{}; 138 Common::Event event{};
139 Common::Event pause_event{};
139 Common::SpinLock basic_lock{}; 140 Common::SpinLock basic_lock{};
140 Common::SpinLock advance_lock{}; 141 Common::SpinLock advance_lock{};
141 std::unique_ptr<std::thread> timer_thread; 142 std::unique_ptr<std::thread> timer_thread;