XCI : fix loading files.
This commit is contained in:
parent
f7e982dd6d
commit
ad98ec7db9
@ -65,7 +65,7 @@ namespace FirstPlugin
|
||||
var Program = entry;
|
||||
string ncaFileName = $"{Program.NcaId.ToHexString().ToLower()}.nca";
|
||||
|
||||
Stream Input = CnmtPfs.OpenFile(ncaFileName).AsStream();
|
||||
Stream Input = xci.SecurePartition.OpenFile(ncaFileName).AsStream();
|
||||
var Nca = new Nca(Keys, Input.AsStorage(), true);
|
||||
|
||||
string root = Nca.Header.TitleId.ToString("X");
|
||||
|
Loading…
Reference in New Issue
Block a user