mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2024-11-14 10:49:41 +01:00
Fix bug when opening patched nca filesystem with no base
This commit is contained in:
parent
0fa9fccc5f
commit
279e180466
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ namespace LibHac.Fs.NcaUtils
|
||||||
public IFileSystem OpenFileSystemWithPatch(Nca patchNca, int index, IntegrityCheckLevel integrityCheckLevel)
|
public IFileSystem OpenFileSystemWithPatch(Nca patchNca, int index, IntegrityCheckLevel integrityCheckLevel)
|
||||||
{
|
{
|
||||||
IStorage storage = OpenStorageWithPatch(patchNca, index, integrityCheckLevel);
|
IStorage storage = OpenStorageWithPatch(patchNca, index, integrityCheckLevel);
|
||||||
NcaFsHeader header = Header.GetFsHeader(index);
|
NcaFsHeader header = patchNca.Header.GetFsHeader(index);
|
||||||
|
|
||||||
return OpenFileSystem(storage, header);
|
return OpenFileSystem(storage, header);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue