summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2022-07-22 01:47:01 +0200
committerLiam <byteslice@airmail.cc>2022-07-24 19:35:44 +0200
commit862142213f576669568fac9ad8f406f8b2763ac9 (patch)
tree55dc18decc985023982e15c779f17e6b76763442
parentMerge pull request #8484 from german77/irs_release (diff)
downloadyuzu-862142213f576669568fac9ad8f406f8b2763ac9.tar
yuzu-862142213f576669568fac9ad8f406f8b2763ac9.tar.gz
yuzu-862142213f576669568fac9ad8f406f8b2763ac9.tar.bz2
yuzu-862142213f576669568fac9ad8f406f8b2763ac9.tar.lz
yuzu-862142213f576669568fac9ad8f406f8b2763ac9.tar.xz
yuzu-862142213f576669568fac9ad8f406f8b2763ac9.tar.zst
yuzu-862142213f576669568fac9ad8f406f8b2763ac9.zip
-rw-r--r--src/yuzu/loading_screen.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/yuzu/loading_screen.cpp b/src/yuzu/loading_screen.cpp
index e273744fd..e263a07a7 100644
--- a/src/yuzu/loading_screen.cpp
+++ b/src/yuzu/loading_screen.cpp
@@ -147,6 +147,10 @@ void LoadingScreen::OnLoadProgress(VideoCore::LoadCallbackStage stage, std::size
ui->progress_bar->setMaximum(static_cast<int>(total));
previous_total = total;
}
+ // Reset the progress bar ranges if compilation is done
+ if (stage == VideoCore::LoadCallbackStage::Complete) {
+ ui->progress_bar->setRange(0, 0);
+ }
QString estimate;
// If theres a drastic slowdown in the rate, then display an estimate