mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-12 22:14:58 +00: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
@ -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());
|
||||
|
@ -70,7 +70,7 @@
|
||||
<item>
|
||||
<widget class="QRadioButton" name="ppu_llvm">
|
||||
<property name="text">
|
||||
<string>Recompiler (LLVM)</string>
|
||||
<string>LLVM Recompiler (fastest)</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -100,7 +100,7 @@
|
||||
<item>
|
||||
<widget class="QRadioButton" name="spu_asmjit">
|
||||
<property name="text">
|
||||
<string>Recompiler (ASMJIT)</string>
|
||||
<string>ASMJIT Recompiler (fastest)</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -110,7 +110,7 @@
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Recompiler (LLVM)</string>
|
||||
<string>LLVM Recompiler</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
Loading…
x
Reference in New Issue
Block a user