mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-07 23:45:12 +00:00
fixed_typemap.hpp: return reference
This commit is contained in:
parent
bbf52f3cea
commit
ea5e837bd6
87 changed files with 3028 additions and 2997 deletions
|
|
@ -44,7 +44,7 @@ void spu_recompiler::init()
|
|||
// Initialize if necessary
|
||||
if (!m_spurt)
|
||||
{
|
||||
m_spurt = g_fxo->get<spu_runtime>();
|
||||
m_spurt = &g_fxo->get<spu_runtime>();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -77,9 +77,9 @@ spu_function_t spu_recompiler::compile(spu_program&& _func)
|
|||
return add_loc->compiled;
|
||||
}
|
||||
|
||||
if (auto cache = g_fxo->get<spu_cache>(); *cache && g_cfg.core.spu_cache && !add_loc->cached.exchange(1))
|
||||
if (auto& cache = g_fxo->get<spu_cache>(); cache && g_cfg.core.spu_cache && !add_loc->cached.exchange(1))
|
||||
{
|
||||
cache->add(func);
|
||||
cache.add(func);
|
||||
}
|
||||
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue