From baf43c524b570df33d7adc487a6700891b7dba4a Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Wed, 1 Jun 2016 13:41:05 -0700 Subject: [PATCH] [DATFromDir] Lower the large-file threshold for Romba mode --- DATFromDir/DATFromDir.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DATFromDir/DATFromDir.cs b/DATFromDir/DATFromDir.cs index ca15d71e..9f4c5e45 100644 --- a/DATFromDir/DATFromDir.cs +++ b/DATFromDir/DATFromDir.cs @@ -491,8 +491,8 @@ namespace SabreTools string gzsize = BitConverter.ToString(footer.Reverse().ToArray()).Replace("-", string.Empty); long extractedsize = Convert.ToInt64(gzsize, 16); - // Only try to add if the file size is greater than 2.5 GiB - if (filesize >= (2.5 * Constants.GibiByte)) + // Only try to add if the file size is greater than 1 GiB + if (filesize >= (Constants.GibiByte)) { // ISIZE is mod 4GiB, so we add that if the ISIZE is smaller than the filesize and header if (extractedsize < (filesize - neededHeaderSize))