Added Packer::checkFinalCompressionRatio().
committer: mfx <mfx> 976775892 +0000
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user