summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-04-09 16:44:29 +0200
committerLioncash <mathew1800@gmail.com>2019-04-09 16:49:38 +0200
commitb73e433dff282a9e2f7636d34ab298a2eb749274 (patch)
tree1cf7354509310e5afc9711f8b5aee60e14e6b838 /src
parentMerge pull request #2300 from FernandoS27/null-shader (diff)
downloadyuzu-b73e433dff282a9e2f7636d34ab298a2eb749274.tar
yuzu-b73e433dff282a9e2f7636d34ab298a2eb749274.tar.gz
yuzu-b73e433dff282a9e2f7636d34ab298a2eb749274.tar.bz2
yuzu-b73e433dff282a9e2f7636d34ab298a2eb749274.tar.lz
yuzu-b73e433dff282a9e2f7636d34ab298a2eb749274.tar.xz
yuzu-b73e433dff282a9e2f7636d34ab298a2eb749274.tar.zst
yuzu-b73e433dff282a9e2f7636d34ab298a2eb749274.zip
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/loading_screen.cpp7
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;