mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
Fix decrypt_self usage
This commit is contained in:
parent
174f11bdbd
commit
5b00aaf561
3 changed files with 5 additions and 6 deletions
|
|
@ -121,9 +121,7 @@ error_code prx_load_module(std::string path, u64 flags, vm::ptr<sys_prx_load_mod
|
|||
return not_an_error(idm::last_id());
|
||||
}
|
||||
|
||||
const auto loadedkeys = fxm::get_always<LoadedNpdrmKeys_t>();
|
||||
|
||||
const ppu_prx_object obj = decrypt_self(fs::file(vfs::get(path)), loadedkeys->devKlic.data());
|
||||
const ppu_prx_object obj = decrypt_self(fs::file(vfs::get(path)), fxm::get_always<LoadedNpdrmKeys_t>()->devKlic.data());
|
||||
|
||||
if (obj != elf_error::ok)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue