Move code

This commit is contained in:
Elad 2025-12-02 08:12:37 +02:00 committed by GitHub
parent 51d2c9ce14
commit 89699485d9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1580,6 +1580,7 @@ public:
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);
spu_log.success("New SPU block detected (size=%u)", func_size);
} }
{ {
@ -2869,16 +2870,6 @@ public:
asm("DSB ISH"); asm("DSB ISH");
#endif #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; return fn;
} }