diff options
| author | Lioncash <mathew1800@gmail.com> | 2019-06-04 19:52:42 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2019-06-04 20:31:24 -0400 |
| commit | 42f5fd0ab32b117901d0cae228103811719606ff (patch) | |
| tree | 66fed7f7c35ba2448006f1393a9b868ed29632d5 /src/video_core/gpu_thread.cpp | |
| parent | 79189c7e3edfd2d628a927ea4be707eb0deeb4e3 (diff) | |
core/core_timing_util: Use std::chrono types for specifying time units
Makes the interface more type-safe and consistent in terms of return
values.
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 1e2ff46b0..3f0939ec9 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); } |
