1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-21 18:22:33 +01:00

Fix PPU decoder settings dialog

This commit is contained in:
Nekotekina 2022-01-16 06:33:59 +03:00
parent 58fdf58150
commit 14170afe8a

View File

@ -328,8 +328,6 @@ settings_dialog::settings_dialog(std::shared_ptr<gui_settings> gui_settings, std
ppu_bg->addButton(ui->ppu_dynamic, static_cast<int>(ppu_decoder_type::dynamic));
ppu_bg->addButton(ui->ppu_llvm, static_cast<int>(ppu_decoder_type::llvm));
m_emu_settings->EnhanceRadioButton(ppu_bg, emu_settings_type::PPUDecoder);
connect(ppu_bg, &QButtonGroup::idToggled, [this](int id, bool checked)
{
if (!checked) return;
@ -352,6 +350,8 @@ settings_dialog::settings_dialog(std::shared_ptr<gui_settings> gui_settings, std
}
});
m_emu_settings->EnhanceRadioButton(ppu_bg, emu_settings_type::PPUDecoder);
// SPU tool tips
SubscribeTooltip(ui->spu__static, tooltips.settings.spu__static);
SubscribeTooltip(ui->spu_dynamic, tooltips.settings.spu_dynamic);