diff options
| author | 2019-06-05 15:52:37 -0400 | |
|---|---|---|
| committer | 2019-06-05 15:52:37 -0400 | |
| commit | 81e09bb1213720c31b7881c9396385375dac5749 (patch) | |
| tree | 06ea501a4f516ac82f1ac91f953d4325475940bc /src/video_core/gpu_thread.cpp | |
| parent | Merge pull request #2541 from lioncash/input (diff) | |
| parent | core/core_timing_util: Amend casing of cyclesTo* functions (diff) | |
| download | yuzu-81e09bb1213720c31b7881c9396385375dac5749.tar.gz yuzu-81e09bb1213720c31b7881c9396385375dac5749.tar.xz yuzu-81e09bb1213720c31b7881c9396385375dac5749.zip | |
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 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 | |||
| 75 | 75 | ||
| 76 | void ThreadManager::SubmitList(Tegra::CommandList&& entries) { | 76 | void ThreadManager::SubmitList(Tegra::CommandList&& entries) { |
| 77 | const u64 fence{PushCommand(SubmitListCommand(std::move(entries)))}; | 77 | const u64 fence{PushCommand(SubmitListCommand(std::move(entries)))}; |
| 78 | const s64 synchronization_ticks{Core::Timing::usToCycles(9000)}; | 78 | const s64 synchronization_ticks{Core::Timing::usToCycles(std::chrono::microseconds{9000})}; |
| 79 | system.CoreTiming().ScheduleEvent(synchronization_ticks, synchronization_event, fence); | 79 | system.CoreTiming().ScheduleEvent(synchronization_ticks, synchronization_event, fence); |
| 80 | } | 80 | } |
| 81 | 81 | ||