From 56541b1ae5078ed0b47fefb963d38b46c3f7858b Mon Sep 17 00:00:00 2001 From: James Rowe Date: Sun, 20 Jan 2019 18:22:29 -0700 Subject: Prevent estimated time from flashing after slow shader compilation starts --- src/yuzu/loading_screen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3