enable RageFileDriverZip
This commit is contained in:
@@ -158,6 +158,7 @@ void RageFileManager::GetDirListing( CString sPath, CStringArray &AddTo, bool bO
|
|||||||
}
|
}
|
||||||
|
|
||||||
#include "RageFileDriverDirect.h"
|
#include "RageFileDriverDirect.h"
|
||||||
|
#include "RageFileDriverZip.h"
|
||||||
void RageFileManager::Mount( CString Type, CString Root, CString MountPoint )
|
void RageFileManager::Mount( CString Type, CString Root, CString MountPoint )
|
||||||
{
|
{
|
||||||
if( MountPoint.size() && MountPoint.Right(1) != "/" )
|
if( MountPoint.size() && MountPoint.Right(1) != "/" )
|
||||||
@@ -169,6 +170,10 @@ void RageFileManager::Mount( CString Type, CString Root, CString MountPoint )
|
|||||||
{
|
{
|
||||||
driver = new RageFileDriverDirect( Root );
|
driver = new RageFileDriverDirect( Root );
|
||||||
}
|
}
|
||||||
|
else if( !Type.CompareNoCase("ZIP") )
|
||||||
|
{
|
||||||
|
driver = new RageFileDriverZip( Root );
|
||||||
|
}
|
||||||
|
|
||||||
if( !driver )
|
if( !driver )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user