Settings: Remove PPU Interpreter (dynamic)

It has been unimplemented for a long while, so no point in displaying
it, it can be added once the feature is implemented again
This commit is contained in:
Ani 2023-06-11 20:52:46 +01:00
parent deda47f461
commit f08d3e12ca
5 changed files with 0 additions and 14 deletions

View file

@ -492,7 +492,6 @@ void fmt_class_string<ppu_decoder_type>::format(std::string& out, u64 arg)
switch (type) switch (type)
{ {
case ppu_decoder_type::_static: return "Interpreter (static)"; case ppu_decoder_type::_static: return "Interpreter (static)";
case ppu_decoder_type::dynamic: return "Interpreter (dynamic)";
case ppu_decoder_type::llvm: return "Recompiler (LLVM)"; case ppu_decoder_type::llvm: return "Recompiler (LLVM)";
} }

View file

@ -3,7 +3,6 @@
enum class ppu_decoder_type : unsigned enum class ppu_decoder_type : unsigned
{ {
_static, _static,
dynamic,
llvm, llvm,
}; };

View file

@ -1127,7 +1127,6 @@ QString emu_settings::GetLocalizedSetting(const QString& original, emu_settings_
switch (static_cast<ppu_decoder_type>(index)) switch (static_cast<ppu_decoder_type>(index))
{ {
case ppu_decoder_type::_static: return tr("Interpreter (static)", "PPU decoder"); case ppu_decoder_type::_static: return tr("Interpreter (static)", "PPU decoder");
case ppu_decoder_type::dynamic: return tr("Interpreter (dynamic)", "PPU decoder");
case ppu_decoder_type::llvm: return tr("Recompiler (LLVM)", "PPU decoder"); case ppu_decoder_type::llvm: return tr("Recompiler (LLVM)", "PPU decoder");
} }
break; break;

View file

@ -383,12 +383,10 @@ settings_dialog::settings_dialog(std::shared_ptr<gui_settings> gui_settings, std
// PPU tool tips // PPU tool tips
SubscribeTooltip(ui->ppu__static, tooltips.settings.ppu__static); SubscribeTooltip(ui->ppu__static, tooltips.settings.ppu__static);
SubscribeTooltip(ui->ppu_dynamic, tooltips.settings.ppu_dynamic);
SubscribeTooltip(ui->ppu_llvm, tooltips.settings.ppu_llvm); SubscribeTooltip(ui->ppu_llvm, tooltips.settings.ppu_llvm);
QButtonGroup *ppu_bg = new QButtonGroup(this); QButtonGroup *ppu_bg = new QButtonGroup(this);
ppu_bg->addButton(ui->ppu__static, static_cast<int>(ppu_decoder_type::_static)); ppu_bg->addButton(ui->ppu__static, static_cast<int>(ppu_decoder_type::_static));
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)); ppu_bg->addButton(ui->ppu_llvm, static_cast<int>(ppu_decoder_type::llvm));
connect(ppu_bg, &QButtonGroup::idToggled, [this](int id, bool checked) connect(ppu_bg, &QButtonGroup::idToggled, [this](int id, bool checked)
@ -402,7 +400,6 @@ settings_dialog::settings_dialog(std::shared_ptr<gui_settings> gui_settings, std
ui->accuratePPUNJ->setEnabled(true); ui->accuratePPUNJ->setEnabled(true);
ui->accuratePPUVNAN->setEnabled(true); ui->accuratePPUVNAN->setEnabled(true);
break; break;
case static_cast<int>(ppu_decoder_type::dynamic):
case static_cast<int>(ppu_decoder_type::llvm): case static_cast<int>(ppu_decoder_type::llvm):
ui->accuratePPUFPCC->setEnabled(false); ui->accuratePPUFPCC->setEnabled(false);
ui->accuratePPUNJ->setEnabled(false); ui->accuratePPUNJ->setEnabled(false);
@ -453,7 +450,6 @@ settings_dialog::settings_dialog(std::shared_ptr<gui_settings> gui_settings, std
ui->spu_llvm->setEnabled(false); ui->spu_llvm->setEnabled(false);
ui->spu_dynamic->setEnabled(false); ui->spu_dynamic->setEnabled(false);
#endif #endif
ui->ppu_dynamic->setEnabled(false);
// _____ _____ _ _ _______ _ // _____ _____ _ _ _______ _
// / ____| __ \| | | | |__ __| | | // / ____| __ \| | | | |__ __| | |

View file

@ -78,13 +78,6 @@
</property> </property>
</widget> </widget>
</item> </item>
<item>
<widget class="QRadioButton" name="ppu_dynamic">
<property name="text">
<string notr="true">Interpreter (dynamic)</string>
</property>
</widget>
</item>
<item> <item>
<widget class="QRadioButton" name="ppu_llvm"> <widget class="QRadioButton" name="ppu_llvm">
<property name="text"> <property name="text">