MCPcopy Create free account
hub / github.com/RPCSX/rpcsx / LoadHeaders

Method LoadHeaders

rpcs3/Crypto/unself.cpp:607–621  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

605}
606
607bool SCEDecrypter::LoadHeaders()
608{
609 // Read SCE header.
610 sce_f.seek(0);
611 sce_hdr.Load(sce_f);
612
613 // Check SCE magic.
614 if (!sce_hdr.CheckMagic())
615 {
616 self_log.error("Not a SELF file!");
617 return false;
618 }
619
620 return true;
621}
622
623bool SCEDecrypter::LoadMetadata(const u8 erk[32], const u8 riv[16])
624{

Callers 5

installPupFunction · 0.80
extract_tarFunction · 0.80
decrypt_selfFunction · 0.80
get_npdrm_self_headerFunction · 0.80

Calls 8

errorMethod · 0.80
emplace_backMethod · 0.80
seekMethod · 0.45
LoadMethod · 0.45
CheckMagicMethod · 0.45
clearMethod · 0.45
posMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected