enable RageFileDriverZip

This commit is contained in:
Glenn Maynard
2003-12-10 08:16:32 +00:00
parent e1a52545a5
commit 41c54e7d0b
+5
View File
@@ -158,6 +158,7 @@ void RageFileManager::GetDirListing( CString sPath, CStringArray &AddTo, bool bO
}
#include "RageFileDriverDirect.h"
#include "RageFileDriverZip.h"
void RageFileManager::Mount( CString Type, CString Root, CString MountPoint )
{
if( MountPoint.size() && MountPoint.Right(1) != "/" )
@@ -169,6 +170,10 @@ void RageFileManager::Mount( CString Type, CString Root, CString MountPoint )
{
driver = new RageFileDriverDirect( Root );
}
else if( !Type.CompareNoCase("ZIP") )
{
driver = new RageFileDriverZip( Root );
}
if( !driver )
{