mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 17:11:23 +00:00
Avoid using vfs::get to let decrypt work on PSN binaries
This commit is contained in:
parent
c2eb9a583d
commit
5de83e0425
@ -1312,10 +1312,10 @@ bool SELFDecrypter::GetKeyFromRap(u8* content_id, u8* npdrm_key)
|
||||
|
||||
// Try to find a matching RAP file under exdata folder.
|
||||
const std::string ci_str = reinterpret_cast<const char*>(content_id);
|
||||
const std::string rap_path = "/dev_hdd0/home/" + Emu.GetUsr() + "/exdata/" + ci_str + ".rap";
|
||||
const std::string rap_path = Emulator::GetHddDir() + "/home/" + Emu.GetUsr() + "/exdata/" + ci_str + ".rap";
|
||||
|
||||
// Open the RAP file and read the key.
|
||||
const fs::file rap_file(vfs::get(rap_path));
|
||||
const fs::file rap_file(rap_path);
|
||||
|
||||
if (!rap_file)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user