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 | 97882b84a8a169ae922ab365086ff888f00b9f2c (patch) | |
| tree | 66fed7f7c35ba2448006f1393a9b868ed29632d5 /src/video_core/gpu_thread.cpp | |
| parent | c5d6bd7f159cbb9430f90754434929616e12d27c (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 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); } |
