Update PPUThread.cpp

This commit is contained in:
trigger 2025-03-01 01:00:31 -08:00
commit a3369b9785

View file

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