use NullFilenameDB

This commit is contained in:
Glenn Maynard
2004-09-05 03:35:49 +00:00
parent 9fac7fdc6d
commit db0fa11b51
+1 -10
View File
@@ -121,17 +121,8 @@ public:
}
};
class ZipFilenameDB: public FilenameDB
{
protected:
void PopulateFileSet( FileSet &fs, const CString &sPath ) { }
public:
ZipFilenameDB() { ExpireSeconds = -1; }
};
RageFileDriverZip::RageFileDriverZip( CString path ):
RageFileDriver( new ZipFilenameDB )
RageFileDriver( new NullFilenameDB )
{
if( !zip.Open(path) )
RageException::Throw( "Couldn't open %s: %s", path.c_str(), zip.GetError().c_str() );