Remove add_to_file

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

View file

@ -2842,14 +2842,6 @@ public:
// Rebuild trampoline if necessary // Rebuild trampoline if necessary
if (!m_spurt->rebuild_ubertrampoline(func.data[0])) if (!m_spurt->rebuild_ubertrampoline(func.data[0]))
{ {
if (auto& cache = g_fxo->get<spu_cache>())
{
if (add_to_file)
{
cache.add(func);
}
}
return nullptr; return nullptr;
} }