mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 08:21:29 +12:00
Update settings to indicate speed differences between Interpreters and Recompilers for less confusion (#4345)
* Update settings_dialog.ui * Qt: completely detach ppu and spu ui texts from backend.
This commit is contained in:
parent
a36acf49d8
commit
2172e61ce5
2 changed files with 8 additions and 14 deletions
|
@ -159,20 +159,11 @@ settings_dialog::settings_dialog(std::shared_ptr<gui_settings> guiSettings, std:
|
|||
|
||||
for (int i = 0; i < ppu_list.count(); i++)
|
||||
{
|
||||
ppuBG->button(i)->setText(ppu_list[i]);
|
||||
|
||||
if (ppu_list[i] == selectedPPU)
|
||||
{
|
||||
ppuBG->button(i)->setChecked(true);
|
||||
}
|
||||
|
||||
#ifndef LLVM_AVAILABLE
|
||||
if (ppu_list[i].toLower().contains("llvm"))
|
||||
{
|
||||
ppuBG->button(i)->setEnabled(false);
|
||||
}
|
||||
#endif
|
||||
|
||||
connect(ppuBG->button(i), &QAbstractButton::pressed, [=]()
|
||||
{
|
||||
xemu_settings->SetSetting(emu_settings::PPUDecoder, sstr(ppu_list[i]));
|
||||
|
@ -198,8 +189,6 @@ settings_dialog::settings_dialog(std::shared_ptr<gui_settings> guiSettings, std:
|
|||
|
||||
for (int i = 0; i < spu_list.count(); i++)
|
||||
{
|
||||
spuBG->button(i)->setText(spu_list[i]);
|
||||
|
||||
if (spu_list[i] == selectedSPU)
|
||||
{
|
||||
spuBG->button(i)->setChecked(true);
|
||||
|
@ -212,6 +201,11 @@ settings_dialog::settings_dialog(std::shared_ptr<gui_settings> guiSettings, std:
|
|||
}
|
||||
}
|
||||
|
||||
#ifndef LLVM_AVAILABLE
|
||||
ui->ppu_llvm->setEnabled(false);
|
||||
ui->spu_llvm->setEnabled(false);
|
||||
#endif
|
||||
|
||||
// lib options tool tips
|
||||
SubscribeTooltip(ui->lib_auto, json_cpu_lib["auto"].toString());
|
||||
SubscribeTooltip(ui->lib_manu, json_cpu_lib["manual"].toString());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue