Added Packer::checkFinalCompressionRatio().

committer: mfx <mfx> 976775892 +0000
This commit is contained in:
Markus F.X.J. Oberhumer
2000-12-14 06:38:12 +00:00
parent f751473195
commit 8ef3beb6c6
13 changed files with 79 additions and 32 deletions
+4
View File
@@ -368,6 +368,10 @@ void PackDjgpp2::pack(OutputFile *fo)
// handle overlay
// FIXME: only Allegro pakfiles are supported
handle_allegropak(fi,fo);
// finally check the compression ratio
if (!checkFinalCompressionRatio(fo))
throwNotCompressible();
}