SPU: write cache before compiling

This commit is contained in:
Nekotekina 2019-04-13 22:36:33 +03:00
parent e064b92058
commit 8deb20e928
2 changed files with 5 additions and 10 deletions

View file

@ -844,11 +844,6 @@ bool spu_recompiler::compile(u64 last_reset_count, const std::vector<u32>& func)
fs::file(m_spurt->get_cache_path() + "spu.log", fs::write + fs::append).write(log);
}
if (m_cache && g_cfg.core.spu_cache)
{
m_cache->add(func);
}
return true;
}