mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2024-11-14 10:49:41 +01:00
Fix NcaFsHeader reading
This commit is contained in:
parent
f583d01248
commit
723ffe5550
1 changed files with 4 additions and 0 deletions
|
@ -96,6 +96,7 @@ namespace libhac
|
||||||
public Pfs0Superblock Pfs0;
|
public Pfs0Superblock Pfs0;
|
||||||
public RomfsSuperblock Romfs;
|
public RomfsSuperblock Romfs;
|
||||||
public BktrSuperblock Bktr;
|
public BktrSuperblock Bktr;
|
||||||
|
public ulong Ctr;
|
||||||
|
|
||||||
public NcaFsHeader(BinaryReader reader)
|
public NcaFsHeader(BinaryReader reader)
|
||||||
{
|
{
|
||||||
|
@ -124,6 +125,9 @@ namespace libhac
|
||||||
Romfs = new RomfsSuperblock(reader);
|
Romfs = new RomfsSuperblock(reader);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Ctr = reader.ReadUInt64();
|
||||||
|
reader.BaseStream.Position += 184;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue