From 5ad9e4b24d498db8e1064f9972b8d10d687d0a4e Mon Sep 17 00:00:00 2001 From: TBirdSoars <31261091+TBirdSoars@users.noreply.github.com> Date: Tue, 6 Oct 2020 19:40:04 -0400 Subject: [PATCH] Comments --- WiiuVcExtractor/RomExtractors/FdsVcExtractor.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WiiuVcExtractor/RomExtractors/FdsVcExtractor.cs b/WiiuVcExtractor/RomExtractors/FdsVcExtractor.cs index 6625c7e..4d71c41 100644 --- a/WiiuVcExtractor/RomExtractors/FdsVcExtractor.cs +++ b/WiiuVcExtractor/RomExtractors/FdsVcExtractor.cs @@ -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; } }