Implement "PPU LLVM Precompilation" control setting

This commit is contained in:
Eladash 2021-04-10 14:43:50 +03:00 committed by Ivan
parent 024b184008
commit 5ca6381624
6 changed files with 15 additions and 1 deletions

View file

@ -2581,7 +2581,7 @@ extern void ppu_initialize()
}
// Avoid compilation if main's cache exists or it is a standalone SELF with no PARAM.SFO
if (compile_main && !Emu.GetTitleID().empty())
if (compile_main && g_cfg.core.ppu_llvm_precompilation && !Emu.GetTitleID().empty())
{
// Try to add all related directories
const std::set<std::string> dirs = Emu.GetGameDirs();