diff --git a/rpcs3/rpcs3qt/core_tab.cpp b/rpcs3/rpcs3qt/core_tab.cpp index 82d617676b..ebc34688d1 100644 --- a/rpcs3/rpcs3qt/core_tab.cpp +++ b/rpcs3/rpcs3qt/core_tab.cpp @@ -35,6 +35,13 @@ core_tab::core_tab(std::shared_ptr 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); }); } }