Skip to content

Commit 6af03ab

Browse files
authored
Merge pull request #68 from turecross321/main
2 parents 08102da + ac3e0b3 commit 6af03ab

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Refresher/Patching/EbootPatcher.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,10 @@ private static void FilterValidUrls(BinaryReader reader, List<long> foundPossibl
220220
}
221221

222222
if (tooLong) continue;
223-
223+
224+
//Seek back to first null byte
225+
reader.BaseStream.Position = foundPosition + len;
226+
224227
//Keep reading until we arent at a null byte
225228
while (reader.ReadByte() == 0) len++;
226229

0 commit comments

Comments
 (0)