1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-10-06 06:10:45 +00:00

[vfs #1] Add ttvfs, miniz, and minihttp sources

This commit is contained in:
fgenesis 2012-06-01 17:23:19 +02:00
commit a90f57afb0
36 changed files with 10047 additions and 0 deletions

View file

@ -0,0 +1,17 @@
#include "VFSInternal.h"
#include "VFSZipArchiveLoader.h"
#include "VFSDirZip.h"
VFS_NAMESPACE_START
VFSDir *VFSZipArchiveLoader::Load(VFSFile *arch, VFSLoader ** /*unused*/, void * /*unused*/)
{
VFSDirZip *vd = new VFSDirZip(arch);
if(vd->load(true))
return vd;
vd->ref--;
return NULL;
}
VFS_NAMESPACE_END