diff options
| author | Zach Hilman <DarkLordZach@users.noreply.github.com> | 2019-06-05 15:52:37 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-06-05 15:52:37 -0400 |
| commit | 4facf2a3ee04b12d6fb2afd6749b7a24ae326c98 (patch) | |
| tree | 06ea501a4f516ac82f1ac91f953d4325475940bc /src/video_core/gpu_thread.cpp | |
| parent | e17b4e1d953ae0867b35fa0470545ae3472fd76b (diff) | |
| parent | debd00b300ba9054dd6925296dad4e0d8c721856 (diff) | |
Merge pull request #2545 from lioncash/timing
core/core_timing_util: Use std::chrono types for specifying time units
Diffstat (limited to 'src/video_core/gpu_thread.cpp')
| -rw-r--r-- | src/video_core/gpu_thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/gpu_thread.cpp b/src/video_core/gpu_thread.cpp index 1e2ff46b0e..3f0939ec9e 100644 --- a/src/video_core/gpu_thread.cpp +++ b/src/video_core/gpu_thread.cpp @@ -75,7 +75,7 @@ void ThreadManager::StartThread(VideoCore::RendererBase& renderer, Tegra::DmaPus void ThreadManager::SubmitList(Tegra::CommandList&& entries) { const u64 fence{PushCommand(SubmitListCommand(std::move(entries)))}; - const s64 synchronization_ticks{Core::Timing::usToCycles(9000)}; + const s64 synchronization_ticks{Core::Timing::usToCycles(std::chrono::microseconds{9000})}; system.CoreTiming().ScheduleEvent(synchronization_ticks, synchronization_event, fence); } |
