Skip to content

Commit

Permalink
Updated goldens.
Browse files Browse the repository at this point in the history
  • Loading branch information
MeltyPlayer committed Dec 3, 2024
1 parent 1018dbc commit e720b60
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 13 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
13 changes: 0 additions & 13 deletions FinModelUtility/Formats/Hsd/Hsd/src/schema/DatSubfile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ namespace sysdolphin.schema;
/// </summary>
public class DatSubfile : IBinaryDeserializable {
private readonly List<RootNode> rootNodes_ = [];
private readonly HashSet<uint> validOffsets_ = [];

private uint dataBlockOffset_;
private uint relocationTableOffset_;
Expand Down Expand Up @@ -86,18 +85,6 @@ public void Read(IBinaryReader br) {
this.stringTableOffset_ =
this.referenceNodeOffset_ + 8 * fileHeader.ReferenceNodeCount;

// Reads relocation table
this.validOffsets_.Clear();
for (var i = 0; i < fileHeader.RelocationTableCount; ++i) {
br.Position = this.relocationTableOffset_ + 4 * i;
var relocationTableEntryOffset = br.ReadUInt32();

br.Position = this.dataBlockOffset_ + relocationTableEntryOffset;
var relocationTableValue = br.ReadUInt32();

this.validOffsets_.Add(relocationTableValue);
}

// Reads root nodes
this.rootNodes_.Clear();
for (var i = 0; i < fileHeader.RootNodeCount; i++) {
Expand Down

0 comments on commit e720b60

Please sign in to comment.