o add my bsnes branch

This commit is contained in:
David Voswinkel
2009-05-12 20:05:00 +02:00
parent 1c30d3db56
commit 091b82a7ef
402 changed files with 68660 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
#include "zlib/unzip.h"
#define ZIP_MAX_FILE_NAME PATH_MAX
class ZipReader : public Reader {
public:
unsigned size();
uint8_t* read(unsigned length = 0);
bool ready();
ZipReader(const char *fn);
~ZipReader();
private:
unzFile zipfile;
unsigned filesize;
bool zipready;
char cname[PATH_MAX];
};