diff options
author | bunnei <bunneidev@gmail.com> | 2021-12-03 16:08:20 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-03 16:08:20 -0800 |
commit | a2fb5a13b2b00922d1f4fcc6dc41849704fa0f89 (patch) | |
tree | 8feb52b4bd0afa965b0865ef00e5f8739b07d3df /src/yuzu/loading_screen.h | |
parent | fdcc161323a061d81c09cfbf5b199d62fdd9983e (diff) | |
parent | 762b8ad448369cc770beae4d8368a6258b13709e (diff) |
Merge pull request #7489 from Morph1984/steady-clock
general: Replace high_resolution_clock with steady_clock
Diffstat (limited to 'src/yuzu/loading_screen.h')
-rw-r--r-- | src/yuzu/loading_screen.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu/loading_screen.h b/src/yuzu/loading_screen.h index 801d08e1a..29155a77c 100644 --- a/src/yuzu/loading_screen.h +++ b/src/yuzu/loading_screen.h @@ -84,8 +84,8 @@ private: // shaders, it will start quickly but end slow if new shaders were added since previous launch. // These variables are used to detect the change in speed so we can generate an ETA bool slow_shader_compile_start = false; - std::chrono::high_resolution_clock::time_point slow_shader_start; - std::chrono::high_resolution_clock::time_point previous_time; + std::chrono::steady_clock::time_point slow_shader_start; + std::chrono::steady_clock::time_point previous_time; std::size_t slow_shader_first_value = 0; }; |