VERY experimental Nintendo Switch 2 emulator
C++
yuzu/loading_screen: Resolve runtime Qt string formatting warnings
Lioncashaf836c296867
diff --git a/src/yuzu/loading_screen.cpp b/src/yuzu/loading_screen.cppindex 86f6d0165a..4e2d988cd7 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;