mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 08:21:29 +12:00
sceNp: fix rap file regression (#10084)
This commit is contained in:
parent
03b76b4606
commit
17f5fec538
1 changed files with 2 additions and 2 deletions
|
@ -509,8 +509,8 @@ error_code npDrmIsAvailable(vm::cptr<u8> k_licensee_addr, vm::cptr<char> drm_pat
|
||||||
const std::string rap_file = Emulator::GetRapFilePath(contentID);
|
const std::string rap_file = Emulator::GetRapFilePath(contentID);
|
||||||
npdrmkeys.devKlic = k_licensee;
|
npdrmkeys.devKlic = k_licensee;
|
||||||
|
|
||||||
if (fs::is_file(vfs::get(rap_file)))
|
if (fs::is_file(rap_file))
|
||||||
npdrmkeys.rifKey = GetEdatRifKeyFromRapFile(fs::file{vfs::get(rap_file)});
|
npdrmkeys.rifKey = GetEdatRifKeyFromRapFile(fs::file{rap_file});
|
||||||
else
|
else
|
||||||
sceNp.warning(u8"npDrmIsAvailable(): Rap file not found: “%s”", rap_file.c_str());
|
sceNp.warning(u8"npDrmIsAvailable(): Rap file not found: “%s”", rap_file.c_str());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue