[DatFile, ArchiveTools, FileTools] Seeking

This commit is contained in:
Matt Nadareski
2017-04-14 21:51:41 -07:00
parent 118d7b58da
commit c3a4c91dc1
3 changed files with 16 additions and 2 deletions

View File

@@ -537,6 +537,9 @@ namespace SabreTools.Helper.Dats
return rebuilt;
}
// Seek to the beginning of the stream
fileStream.Seek(0, SeekOrigin.Begin);
Globals.Logger.User("Matches found for '" + Style.GetFileName(rom.Name) + "', rebuilding accordingly...");
rebuilt = true;