mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 07:21:25 +12:00
Disable LLVM option in PPU when RPCS3 is not built with it
This commit is contained in:
parent
e1a78abfc9
commit
3f74bafa70
1 changed files with 7 additions and 0 deletions
|
@ -35,6 +35,13 @@ core_tab::core_tab(std::shared_ptr<emu_settings> settings, QWidget *parent) : QW
|
||||||
{
|
{
|
||||||
butt->setChecked(true);
|
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); });
|
connect(butt, &QAbstractButton::pressed, [=]() {settings->SetSetting(emu_settings::PPUDecoder, curr); });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue