mirror of https://github.com/RPCS3/rpcs3.git
Disable LLVM option in PPU when RPCS3 is not built with it
This commit is contained in:
parent
e1a78abfc9
commit
3f74bafa70
|
@ -35,6 +35,13 @@ core_tab::core_tab(std::shared_ptr<emu_settings> settings, QWidget *parent) : QW
|
|||
{
|
||||
butt->setChecked(true);
|
||||
}
|
||||
#ifndef LLVM_AVAILABLE
|
||||
if (curr == "Recompiler (LLVM)")
|
||||
{
|
||||
butt->setEnabled(false);
|
||||
butt->setToolTip(tr("This version of RPCS3 wasn't compiled with LLVM support."));
|
||||
}
|
||||
#endif
|
||||
connect(butt, &QAbstractButton::pressed, [=]() {settings->SetSetting(emu_settings::PPUDecoder, curr); });
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue