]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/unzip.c
Incremental improvements to the file picker, introduction of ImageDelegate
[virtualjaguar] / src / unzip.c
index 67a494c9d1d32a40eb747fd8f3c699354cb6285c..5c3d119f9eacc201719a631a5891a794825ae080 100644 (file)
@@ -1,7 +1,14 @@
 //
-// ZIP file support (mostly ripped from MAME)
+// ZIP file support (mostly ripped from MAME--thx MAME team!)
 //
 // Added by James L. Hammons
+// (C) 2010 Underground Software
+//
+// JLH = James L. Hammons <jlhamm@acm.org>
+//
+// Who  When        What
+// ---  ----------  -------------------------------------------------------------
+// JLH  01/16/2010  Created this log ;-)
 //
 
 #include <stdlib.h>
@@ -826,7 +833,7 @@ static int equal_filename(const char * zipfile, const char * file)
 
 //
 // Pass the path to the zipfile and the name of the file within the zipfile.
-// buf will be set to point to the uncompressed image of that zipped file.
+// buf is set to point to the uncompressed image of that zipped file (preallocated by user!).
 // length will be set to the length of the uncompressed data.
 //
 int load_zipped_file(int pathtype, int pathindex, const char * zipfile, const char * filename, unsigned char ** buf, uint32_t * length)