1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 18:53:28 +01:00

Fixup for SPU Recompilers, regression after #6210

This commit is contained in:
Nekotekina 2019-07-15 19:51:58 +03:00
parent c062000288
commit 736ec4035e

View File

@ -297,7 +297,11 @@ void spu_cache::add(const std::vector<u32>& func)
void spu_cache::initialize()
{
spu_runtime::g_interpreter = spu_runtime::g_gateway;
*spu_runtime::g_dispatcher = spu_runtime::tr_interpreter;
if (g_cfg.core.spu_decoder == spu_decoder_type::precise || g_cfg.core.spu_decoder == spu_decoder_type::fast)
{
*spu_runtime::g_dispatcher = spu_runtime::tr_interpreter;
}
const std::string ppu_cache = Emu.PPUCache();