mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-12-25 14:15:46 +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
|