VERY experimental Nintendo Switch 2 emulator
C++
Prevent estimated time from flashing after slow shader compilation starts
James Rowec7516a14eb80
diff --git a/src/yuzu/loading_screen.cpp b/src/yuzu/loading_screen.cppindex 608ab6f023..ffa7f5bb26 100644--- a/src/yuzu/loading_screen.cpp+++ b/src/yuzu/loading_screen.cpp@@ -141,7 +141,7 @@ void LoadingScreen::OnLoadProgress(VideoCore::LoadCallbackStage stage, std::sizeQString 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;