SPU LLVM: Always write cache when using debug option

This commit is contained in:
Elad
2026-09-10 19:06:37 +03:00
parent c59667b689
commit 99a91bb562
+7
View File
@@ -1690,6 +1690,13 @@ public:
if (auto& cache = g_fxo->get<spu_cache>(); cache && g_cfg.core.spu_cache && !add_loc->cached.exchange(1))
{
add_to_file = true;
if (g_cfg.core.spu_debug)
{
add_to_file = false;
cache.add(func);
spu_log.success("New SPU block detected (size=%u)", func_size);
}
}
{