mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 23:41:26 +12:00
LLVM: compress PPU cache
Compress PPU modules to .gz (backward compatible with uncompressed cache)
This commit is contained in:
parent
e54438d3a7
commit
70e26eeb45
2 changed files with 84 additions and 3 deletions
|
@ -1617,7 +1617,7 @@ extern void ppu_initialize(const ppu_module& info)
|
|||
}
|
||||
|
||||
// Check object file
|
||||
if (fs::is_file(cache_path + obj_name))
|
||||
if (fs::is_file(cache_path + obj_name + ".gz") || fs::is_file(cache_path + obj_name))
|
||||
{
|
||||
if (!jit)
|
||||
{
|
||||
|
@ -1657,7 +1657,7 @@ extern void ppu_initialize(const ppu_module& info)
|
|||
g_progr_pdone++;
|
||||
}
|
||||
|
||||
if (Emu.IsStopped() || !jit || !fs::is_file(cache_path + obj_name))
|
||||
if (Emu.IsStopped() || !jit || !fs::is_file(cache_path + obj_name + ".gz"))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue