Add "SPU Cache" option

If disabled, the cache will still be loaded, but never updated.
This commit is contained in:
Nekotekina 2018-06-04 02:21:00 +03:00
parent 5d4c5ecc1c
commit 5c9d0e4b46
3 changed files with 3 additions and 2 deletions

View file

@ -1055,7 +1055,7 @@ spu_function_t spu_recompiler::compile(std::vector<u32>&& func_rv)
fs::file(Emu.GetCachePath() + "SPUJIT.log", fs::write + fs::append).write(log);
}
if (m_cache)
if (m_cache && g_cfg.core.spu_cache)
{
m_cache->add(func);
}