Update PPUThread.cpp

This commit is contained in:
trigger 2025-03-01 01:18:38 -08:00
parent 227398f766
commit 6bba308347

View file

@ -4282,14 +4282,14 @@ extern void ppu_precompile(std::vector<std::string>& dir_queue, std::vector<ppu_
if (src)
{
ppu_log.error("Possible missed KLIC for precompilation of '%s', please report to developers.", path);
}
// Ignore executables larger than 500KB to prevent a long pause on exitspawn
if (src.size() >= 500000)
{
g_progr_ftotal_bits -= file_size;
// Ignore executables larger than 500KB to prevent a long pause on exitspawn
if (src.size() >= 500000)
{
g_progr_ftotal_bits -= file_size;
continue;
continue;
}
}
}