diff options
author | James Rowe <jroweboy@gmail.com> | 2019-01-21 02:22:29 +0100 |
---|---|---|
committer | James Rowe <jroweboy@gmail.com> | 2019-01-21 02:31:35 +0100 |
commit | 56541b1ae5078ed0b47fefb963d38b46c3f7858b (patch) | |
tree | 8a65a8fe8abaca64dcce91c155b028aa4c7a4cae | |
parent | Move progress bar style into constexpr strings (diff) | |
download | yuzu-56541b1ae5078ed0b47fefb963d38b46c3f7858b.tar yuzu-56541b1ae5078ed0b47fefb963d38b46c3f7858b.tar.gz yuzu-56541b1ae5078ed0b47fefb963d38b46c3f7858b.tar.bz2 yuzu-56541b1ae5078ed0b47fefb963d38b46c3f7858b.tar.lz yuzu-56541b1ae5078ed0b47fefb963d38b46c3f7858b.tar.xz yuzu-56541b1ae5078ed0b47fefb963d38b46c3f7858b.tar.zst yuzu-56541b1ae5078ed0b47fefb963d38b46c3f7858b.zip |
-rw-r--r-- | src/yuzu/loading_screen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/loading_screen.cpp b/src/yuzu/loading_screen.cpp index 608ab6f02..ffa7f5bb2 100644 --- a/src/yuzu/loading_screen.cpp +++ b/src/yuzu/loading_screen.cpp @@ -141,7 +141,7 @@ void LoadingScreen::OnLoadProgress(VideoCore::LoadCallbackStage stage, std::size QString estimate; // If theres a drastic slowdown in the rate, then display an estimate - if (now - previous_time > milliseconds{20}) { + if (now - previous_time > milliseconds{50} || slow_shader_compile_start) { if (!slow_shader_compile_start) { slow_shader_start = high_resolution_clock::now(); slow_shader_compile_start = true; |