diff options
author | bunnei <bunneidev@gmail.com> | 2019-04-09 23:21:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-09 23:21:18 +0200 |
commit | 71182643f76a136d755698f0eb7efef5f7d5d6cc (patch) | |
tree | 5eacdb08565461b9c611b8d9dfaaa5b1e86745fb | |
parent | Merge pull request #2369 from FernandoS27/mip-align (diff) | |
parent | yuzu/loading_screen: Resolve runtime Qt string formatting warnings (diff) | |
download | yuzu-71182643f76a136d755698f0eb7efef5f7d5d6cc.tar yuzu-71182643f76a136d755698f0eb7efef5f7d5d6cc.tar.gz yuzu-71182643f76a136d755698f0eb7efef5f7d5d6cc.tar.bz2 yuzu-71182643f76a136d755698f0eb7efef5f7d5d6cc.tar.lz yuzu-71182643f76a136d755698f0eb7efef5f7d5d6cc.tar.xz yuzu-71182643f76a136d755698f0eb7efef5f7d5d6cc.tar.zst yuzu-71182643f76a136d755698f0eb7efef5f7d5d6cc.zip |
-rw-r--r-- | src/yuzu/loading_screen.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/yuzu/loading_screen.cpp b/src/yuzu/loading_screen.cpp index 86f6d0165..4e2d988cd 100644 --- a/src/yuzu/loading_screen.cpp +++ b/src/yuzu/loading_screen.cpp @@ -192,7 +192,12 @@ void LoadingScreen::OnLoadProgress(VideoCore::LoadCallbackStage stage, std::size } // update labels and progress bar - ui->stage->setText(stage_translations[stage].arg(value).arg(total)); + if (stage == VideoCore::LoadCallbackStage::Decompile || + stage == VideoCore::LoadCallbackStage::Build) { + ui->stage->setText(stage_translations[stage].arg(value).arg(total)); + } else { + ui->stage->setText(stage_translations[stage]); + } ui->value->setText(estimate); ui->progress_bar->setValue(static_cast<int>(value)); previous_time = now; |