Savestates: Decryption of executable fix

This commit is contained in:
Eladash 2022-07-07 22:08:39 +03:00 committed by Ivan
parent 3a9928de65
commit 983bfa2088
1 changed files with 1 additions and 1 deletions

View File

@ -895,7 +895,7 @@ extern bool is_memory_compatible_for_copy_from_executable_optimization(u32 addr,
return false;
}
s_ppu_exec.open(decrypt_self(fs::file(Emu.GetBoot())));
s_ppu_exec.open(decrypt_self(fs::file(Emu.GetBoot()), Emu.klic.empty() ? nullptr : reinterpret_cast<u8*>(&Emu.klic[0])));
if (s_ppu_exec != elf_error::ok)
{