mirror of
https://github.com/libretro/Mesen.git
synced 2024-12-14 04:48:42 +00:00
20 lines
389 B
C++
20 lines
389 B
C++
#pragma once
|
|
#include "stdafx.h"
|
|
#include "miniz.h"
|
|
#include "ArchiveReader.h"
|
|
|
|
class ZipReader : public ArchiveReader
|
|
{
|
|
private:
|
|
mz_zip_archive _zipArchive;
|
|
|
|
protected:
|
|
bool InternalLoadArchive(void* buffer, size_t size);
|
|
vector<string> InternalGetFileList();
|
|
|
|
public:
|
|
ZipReader();
|
|
virtual ~ZipReader();
|
|
|
|
void ExtractFile(string filename, uint8_t **fileBuffer, size_t &fileSize);
|
|
}; |