aboutsummaryrefslogtreecommitdiff
path: root/src/common/wall_clock.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-02-25 12:28:55 -0400
committerFernando Sahmkow <fsahmkow27@gmail.com>2020-06-27 11:35:10 -0400
commit18dcb0934217628711c5b1d22fd6d7635e683e3f (patch)
tree426f78eb11aa79e0d1c7470b966fbae8ea8e3e6d /src/common/wall_clock.h
parent6bf137a0e81fa3fae030687f10ac2c1e12d824ff (diff)
HostTiming: Pause the hardware clock on pause.
Diffstat (limited to 'src/common/wall_clock.h')
-rw-r--r--src/common/wall_clock.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/wall_clock.h b/src/common/wall_clock.h
index ed284cf502..367d721348 100644
--- a/src/common/wall_clock.h
+++ b/src/common/wall_clock.h
@@ -28,6 +28,8 @@ public:
/// Returns current wall time in emulated cpu cycles
virtual u64 GetCPUCycles() = 0;
+ virtual void Pause(bool is_paused) = 0;
+
/// Tells if the wall clock, uses the host CPU's hardware clock
bool IsNative() const {
return is_native;