diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2023-03-02 03:06:19 +0100 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2023-03-05 08:36:31 +0100 |
commit | bff14532825e7517882ca913738347059f73cf7f (patch) | |
tree | f21f509d4c7458a79e2fc399c1de3036a7efd51d /src/video_core | |
parent | main: (Windows) Set the current timer resolution to the maximum (diff) | |
download | yuzu-bff14532825e7517882ca913738347059f73cf7f.tar yuzu-bff14532825e7517882ca913738347059f73cf7f.tar.gz yuzu-bff14532825e7517882ca913738347059f73cf7f.tar.bz2 yuzu-bff14532825e7517882ca913738347059f73cf7f.tar.lz yuzu-bff14532825e7517882ca913738347059f73cf7f.tar.xz yuzu-bff14532825e7517882ca913738347059f73cf7f.tar.zst yuzu-bff14532825e7517882ca913738347059f73cf7f.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/gpu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp index 7024a19cf..2e7f9c5ed 100644 --- a/src/video_core/gpu.cpp +++ b/src/video_core/gpu.cpp @@ -197,7 +197,7 @@ struct GPU::Impl { constexpr u64 gpu_ticks_num = 384; constexpr u64 gpu_ticks_den = 625; - u64 nanoseconds = system.CoreTiming().GetGlobalTimeNs().count(); + u64 nanoseconds = system.CoreTiming().GetCPUTimeNs().count(); if (Settings::values.use_fast_gpu_time.GetValue()) { nanoseconds /= 256; } |