PPU: Precompile only encrypted executeables

Improve sys_prx_load_module and sys_overlay_load_module error checking.
This commit is contained in:
Eladash 2023-09-02 20:07:35 +03:00 committed by Elad Ashkenazi
parent d62d6cc852
commit b900c43ceb
5 changed files with 18 additions and 7 deletions

View file

@ -3890,7 +3890,7 @@ extern void ppu_precompile(std::vector<std::string>& dir_queue, std::vector<ppu_
}
// Some files may fail to decrypt due to the lack of klic
src = decrypt_self(std::move(src));
src = decrypt_self(std::move(src), nullptr, nullptr, true);
if (!src)
{