Fix decrypt_self usage

This commit is contained in:
Nekotekina 2017-09-01 02:10:57 +03:00
parent 174f11bdbd
commit 5b00aaf561
3 changed files with 5 additions and 6 deletions

View file

@ -383,7 +383,7 @@ s32 sys_raw_spu_load(s32 id, vm::cptr<char> path, vm::ptr<u32> entry)
{
sysPrxForUser.warning("sys_raw_spu_load(id=%d, path=%s, entry=*0x%x)", id, path, entry);
const fs::file elf_file = decrypt_self(fs::file(vfs::get(path.get_ptr())));
const fs::file elf_file = fs::file(vfs::get(path.get_ptr()));
if (!elf_file)
{