1
0
mirror of synced 2024-11-12 02:00:50 +01:00

XCI : fix loading files.

This commit is contained in:
KillzXGaming 2020-12-12 12:28:04 -05:00
parent f7e982dd6d
commit ad98ec7db9

View File

@ -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");