diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-02-10 15:32:51 +0100 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2020-02-10 15:44:54 +0100 |
commit | 8e9a4944dbbb4a22d149bb989faf32db0a979766 (patch) | |
tree | 2c24fc758046e03929dcd8e42c76674580e0a34e /src/video_core/gpu.h | |
parent | Maxwell3D: Correct query reporting. (diff) | |
download | yuzu-8e9a4944dbbb4a22d149bb989faf32db0a979766.tar yuzu-8e9a4944dbbb4a22d149bb989faf32db0a979766.tar.gz yuzu-8e9a4944dbbb4a22d149bb989faf32db0a979766.tar.bz2 yuzu-8e9a4944dbbb4a22d149bb989faf32db0a979766.tar.lz yuzu-8e9a4944dbbb4a22d149bb989faf32db0a979766.tar.xz yuzu-8e9a4944dbbb4a22d149bb989faf32db0a979766.tar.zst yuzu-8e9a4944dbbb4a22d149bb989faf32db0a979766.zip |
Diffstat (limited to 'src/video_core/gpu.h')
-rw-r--r-- | src/video_core/gpu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/gpu.h b/src/video_core/gpu.h index b648317bb..07727210c 100644 --- a/src/video_core/gpu.h +++ b/src/video_core/gpu.h @@ -192,6 +192,8 @@ public: bool CancelSyncptInterrupt(u32 syncpoint_id, u32 value); + u64 GetTicks() const; + std::unique_lock<std::mutex> LockSync() { return std::unique_lock{sync_mutex}; } |