skip recalculating radar values and last beat when loading from cache. loading songs from the cache is now 5x faster.

fyi: it took 1:40 minutes to load my library, now it's only 20 seconds.
This commit is contained in:
Thai Pangsakulyanont
2011-06-04 17:28:20 +07:00
parent 6ca0cd1e70
commit a1681faa06
5 changed files with 25 additions and 10 deletions
+1 -1
View File
@@ -964,7 +964,7 @@ void SMLoader::TidyUpData( Song &song, bool bFromCache )
bg.push_back( BackgroundChange(song.m_fLastBeat,song.m_sBackgroundFile) );
} while(0);
}
song.TidyUpData();
song.TidyUpData( bFromCache );
}
/*