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