mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-10-27 21:48:50 +01:00
initial import
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@2 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
2cadbd5e56
commit
cc68a136aa
341 changed files with 180839 additions and 0 deletions
23
platform/win32/GenaDrive/Unzip.h
Normal file
23
platform/win32/GenaDrive/Unzip.h
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
|
||||
|
||||
class Unzip
|
||||
{
|
||||
public:
|
||||
Unzip();
|
||||
FILE *file; // Zip file current open
|
||||
unsigned char head[0x1e]; // Zip entry header
|
||||
int dataLen; // Zip entry dest (uncompressed) size
|
||||
|
||||
char *name; // Name of entry
|
||||
|
||||
int gotoFirstFile();
|
||||
int fileOpen();
|
||||
int fileClose();
|
||||
int fileDecode(unsigned char *data);
|
||||
|
||||
private:
|
||||
int srcLen; // Zip entry source (compressed) size
|
||||
int nameLen,extraLen; // Length of name field and extra fields
|
||||
int headerPos; // Position of file entry header (PK... etc)
|
||||
int compPos; // Position of compressed data
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue