mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-12-06 07:12:28 +01:00
Move code
This commit is contained in:
parent
51d2c9ce14
commit
89699485d9
|
|
@ -1580,6 +1580,7 @@ public:
|
|||
if (auto& cache = g_fxo->get<spu_cache>(); cache && g_cfg.core.spu_cache && !add_loc->cached.exchange(1))
|
||||
{
|
||||
cache.add(func);
|
||||
spu_log.success("New SPU block detected (size=%u)", func_size);
|
||||
}
|
||||
|
||||
{
|
||||
|
|
@ -2869,16 +2870,6 @@ public:
|
|||
asm("DSB ISH");
|
||||
#endif
|
||||
|
||||
if (auto& cache = g_fxo->get<spu_cache>())
|
||||
{
|
||||
if (add_to_file)
|
||||
{
|
||||
cache.add(func);
|
||||
}
|
||||
|
||||
spu_log.success("New SPU block compiled successfully (size=%u)", func_size);
|
||||
}
|
||||
|
||||
return fn;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue