Merge pull request #13826 from Dentomologist/gameconfigwidget_unify_tooltips

GameConfigWidget: Unify tooltips
This commit is contained in:
Admiral H. Curtiss
2025-07-25 00:19:56 +02:00
committed by GitHub

View File

@ -112,14 +112,16 @@ void GameConfigWidget::CreateWidgets()
m_deterministic_dual_core = m_deterministic_dual_core =
new ConfigStringChoice(choice, Config::MAIN_GPU_DETERMINISM_MODE, layer); new ConfigStringChoice(choice, Config::MAIN_GPU_DETERMINISM_MODE, layer);
m_enable_mmu->setToolTip(tr( m_enable_mmu->SetDescription(tr(
"Enables the Memory Management Unit, needed for some games. (ON = Compatible, OFF = Fast)")); "Enables the Memory Management Unit, needed for some games. (ON = Compatible, OFF = Fast)"));
m_enable_fprf->setToolTip(tr("Enables Floating Point Result Flag calculation, needed for a few " m_enable_fprf->SetDescription(
tr("Enables Floating Point Result Flag calculation, needed for a few "
"games. (ON = Compatible, OFF = Fast)")); "games. (ON = Compatible, OFF = Fast)"));
m_sync_gpu->setToolTip(tr("Synchronizes the GPU and CPU threads to help prevent random freezes " m_sync_gpu->SetDescription(
tr("Synchronizes the GPU and CPU threads to help prevent random freezes "
"in Dual core mode. (ON = Compatible, OFF = Fast)")); "in Dual core mode. (ON = Compatible, OFF = Fast)"));
m_emulate_disc_speed->setToolTip( m_emulate_disc_speed->SetDescription(
tr("Enable emulated disc speed. Disabling this can cause crashes " tr("Enable emulated disc speed. Disabling this can cause crashes "
"and other problems in some games. " "and other problems in some games. "
"(ON = Compatible, OFF = Unlocked)")); "(ON = Compatible, OFF = Unlocked)"));
@ -143,11 +145,11 @@ void GameConfigWidget::CreateWidgets()
m_use_monoscopic_shadows = m_use_monoscopic_shadows =
new ConfigBool(tr("Monoscopic Shadows"), Config::GFX_STEREO_EFB_MONO_DEPTH, layer); new ConfigBool(tr("Monoscopic Shadows"), Config::GFX_STEREO_EFB_MONO_DEPTH, layer);
m_depth_slider->setToolTip( m_depth_slider->SetDescription(
tr("This value is multiplied with the depth set in the graphics configuration.")); tr("This value is multiplied with the depth set in the graphics configuration."));
m_convergence_spin->setToolTip( m_convergence_spin->SetDescription(
tr("This value is added to the convergence value set in the graphics configuration.")); tr("This value is added to the convergence value set in the graphics configuration."));
m_use_monoscopic_shadows->setToolTip( m_use_monoscopic_shadows->SetDescription(
tr("Use a single depth buffer for both eyes. Needed for a few games.")); tr("Use a single depth buffer for both eyes. Needed for a few games."));
stereoscopy_layout->addWidget(new ConfigSliderLabel(tr("Depth Percentage:"), m_depth_slider), 0, stereoscopy_layout->addWidget(new ConfigSliderLabel(tr("Depth Percentage:"), m_depth_slider), 0,