separate "low res loaded on startup" and "low res loaded on demand" banner modes

This commit is contained in:
Glenn Maynard
2005-03-08 01:39:32 +00:00
parent bd7f89455d
commit eadd3b3edb
9 changed files with 118 additions and 31 deletions
+7
View File
@@ -29,6 +29,13 @@
SongCacheIndex *SONGINDEX;
CString SongCacheIndex::GetCacheFilePath( const CString &sGroup, const CString &sPath )
{
/* Use GetHashForString, not ForFile, since we don't want to spend time
* checking the file size and date. */
return ssprintf( "%s/%s/%u", CACHE_DIR, sGroup.c_str(), GetHashForString(sPath) );
}
SongCacheIndex::SongCacheIndex()
{
ReadCacheIndex();