mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-09 08:25:16 +00:00
user-manager: squash all commits for this feature.
This commit is contained in:
parent
c5c0f68b3e
commit
948bd3673e
21 changed files with 654 additions and 56 deletions
|
|
@ -4,6 +4,7 @@
|
|||
#include "utils.h"
|
||||
#include "unself.h"
|
||||
#include "Emu/VFS.h"
|
||||
#include "Emu/System.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <zlib.h>
|
||||
|
|
@ -1294,7 +1295,7 @@ 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/00000001/exdata/" + ci_str + ".rap";
|
||||
const std::string rap_path = fmt::format("/dev_hdd0/home/%s/exdata/%s.rap", Emu.GetUsr(), ci_str);
|
||||
|
||||
// Open the RAP file and read the key.
|
||||
const fs::file rap_file(vfs::get(rap_path));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue