From d686ff1d754245b8e9e0f1171b5895a336baa088 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 28 Aug 2003 15:39:18 +0000 Subject: [PATCH] Reenable caching for IsAFile, etc; the old problems may be fixed. This should improve speed in SongManager::WriteStatsWebPage (through Song::HasBanner). --- stepmania/src/RageUtil_FileDB.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/RageUtil_FileDB.cpp b/stepmania/src/RageUtil_FileDB.cpp index 7d151d45bb..0e90e705a8 100644 --- a/stepmania/src/RageUtil_FileDB.cpp +++ b/stepmania/src/RageUtil_FileDB.cpp @@ -421,7 +421,7 @@ void GetDirListing( CString sPath, CStringArray &AddTo, bool bOnlyDirs, bool bRe bool ResolvePath(CString &path) { return FDB.ResolvePath(path); } -#if 0 +#if 1 bool DoesFileExist( const CString &sPath ) { return FDB.DoesFileExist(sPath); } bool IsAFile( const CString &sPath ) { return FDB.IsAFile(sPath); } bool IsADirectory( const CString &sPath ) { return FDB.IsADirectory(sPath); }