Skip to content

Commit

Permalink
Comments
Browse files Browse the repository at this point in the history
  • Loading branch information
TBirdSoars committed Oct 6, 2020
1 parent bcb6539 commit 5ad9e4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions WiiuVcExtractor/RomExtractors/FdsVcExtractor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -122,13 +122,13 @@ public string ExtractRom()
// Read in 2nd disk header
byte[] headerBuffer = brDskChk.ReadBytes(FDS_HEADER_LENGTH);

// Iterate through buffer
// Iterate through buffer and header
for (int i = 0; i < FDS_HEADER_CHECK.Length && headerValid; i++)
{
// Compare byte at buffer position to corresponding byte in header
if (headerBuffer[i] != FDS_HEADER_CHECK[i])
{
// If they don't match, header is wrong
// If they don't match, header is wrong - end loops
headerValid = false;
}
}
Expand Down

0 comments on commit 5ad9e4b

Please sign in to comment.