HostTiming: Pause the hardware clock on pause.

This commit is contained in:
Fernando Sahmkow 2020-02-25 12:28:55 -04:00
parent 6bf137a0e8
commit 18dcb09342
7 changed files with 23 additions and 1 deletions

View file

@ -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;