[DATFromDir] Drop threshold to 750MiB for Romba size checking

This commit is contained in:
Matt Nadareski
2016-06-01 14:32:16 -07:00
parent a064d49b43
commit 176b193cb9

View File

@@ -491,8 +491,8 @@ namespace SabreTools
string gzsize = BitConverter.ToString(footer.Reverse().ToArray()).Replace("-", string.Empty); string gzsize = BitConverter.ToString(footer.Reverse().ToArray()).Replace("-", string.Empty);
long extractedsize = Convert.ToInt64(gzsize, 16); long extractedsize = Convert.ToInt64(gzsize, 16);
// Only try to add if the file size is greater than 1 GiB // Only try to add if the file size is greater than 750 MiB
if (filesize >= (Constants.GibiByte)) if (filesize >= (750 * Constants.MibiByte))
{ {
// ISIZE is mod 4GiB, so we add that if the ISIZE is smaller than the filesize and header // ISIZE is mod 4GiB, so we add that if the ISIZE is smaller than the filesize and header
bool shouldfollowup = false; bool shouldfollowup = false;