Bloody cache.

This commit is contained in:
Jason Felds
2013-05-31 23:17:56 -04:00
parent 589c5d64c7
commit b4d4b9805b
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -98,6 +98,12 @@ void SongCacheIndex::ReadCacheIndex()
EmptyDir( SpecialFiles::CACHE_DIR+"Courses/" );
CacheIndex.Clear();
/* This is right now in place because our song file paths are apparently being
* cached in two distinct areas, and songs were loading from paths in FILEMAN.
* This is admittedly a hack for now, but this does bring up a good question on
* whether we really need a dedicated cache for future versions of StepMania.
*/
FILEMAN->FlushDirCache();
}
void SongCacheIndex::AddCacheIndex(const RString &path, unsigned hash)