Break and set fixing flags if there's an appending error

This commit is contained in:
Matt Nadareski
2022-05-31 16:04:20 -07:00
parent 6752d0cfa3
commit 6a609ea3f5

View File

@@ -68,6 +68,10 @@ namespace BurnOutSharp.FileType
if (error != Error.MSPACK_ERR_OK)
{
if (scanner.IncludeDebug) Console.WriteLine($"Error occurred appending '{cabFile2.Filename}' to '{cabFile.Filename}': {error}");
decompressor.FixMSZip = true;
decompressor.Salvage = true;
break;
}
cabFile = cabFile2;