[Scummvm-devel] cost of palette changes

Max Horn max at quendi.de
Mon Jun 28 23:37:33 CEST 2010


Am 28.06.2010 um 23:27 schrieb Johannes Schickel:

> On 06/28/2010 11:23 PM, Robert Špalek wrote:
>> 
>> It might be noteworthy that the ZIP support is only available when zlib is available. I think some of our ports did not feature zlib support (not sure right now which ones though). Also when reading files from the zip archive, they will be first decompressed and read completely into the memory.
>> 
>> I will use compression=none, because the MP3 files inside are incompressible.  therefore the files just need to be read into memory, which is, of course, the intention.  concerning zlib availability, I'm not sure how our library is implemented, but for reading uncompressed archives zlib is not needed; one just needs to parse the archive header.
>> 
> 
> Our code is definitely only enabled, when zlib is present (notice the USE_ZLIB checks in common/unzip.h).

True, but somebody *g* could rewrite it to support uncompressed archives when zlib is not available.


Cheers,
Max



More information about the Scummvm-devel mailing list