mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-11-15 14:09:06 +00:00
17 lines
335 B
C++
17 lines
335 B
C++
#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
|