diff --git a/src/LibHac/Tools/FsSystem/CompressedStorage.cs b/src/LibHac/Tools/FsSystem/CompressedStorage.cs index 93c84c5d..67d09f64 100644 --- a/src/LibHac/Tools/FsSystem/CompressedStorage.cs +++ b/src/LibHac/Tools/FsSystem/CompressedStorage.cs @@ -46,9 +46,6 @@ internal class CompressedStorage : IStorage public Result Initialize(MemoryResource allocatorForBucketTree, in ValueSubStorage dataStorage, in ValueSubStorage nodeStorage, in ValueSubStorage entryStorage, int bucketTreeEntryCount) { - nodeStorage.GetSubStorage().WriteAllBytes("nodeStorage"); - entryStorage.GetSubStorage().WriteAllBytes("entryStorage"); - Result rc = _bucketTree.Initialize(allocatorForBucketTree, in nodeStorage, in entryStorage, NodeSize, Unsafe.SizeOf(), bucketTreeEntryCount); if (rc.IsFailure()) return rc.Miss(); diff --git a/src/LibHac/Tools/FsSystem/NcaUtils/NcaFsHeader.cs b/src/LibHac/Tools/FsSystem/NcaUtils/NcaFsHeader.cs index a2d452ed..c1e67f19 100644 --- a/src/LibHac/Tools/FsSystem/NcaUtils/NcaFsHeader.cs +++ b/src/LibHac/Tools/FsSystem/NcaUtils/NcaFsHeader.cs @@ -112,7 +112,7 @@ public struct NcaFsHeader public const int SparseInfoOffset = 0x148; public const int SparseInfoSize = 0x30; public const int CompressionInfoOffset = 0x178; - public const int CompressionInfoSize = 0x20; + public const int CompressionInfoSize = 0x28; [FieldOffset(0)] public short Version; [FieldOffset(2)] public byte FormatType;