seperate fast load for regular and additional songs

This commit is contained in:
Chris Danford
2006-06-15 10:54:55 +00:00
parent c29c725f4b
commit 270b8d94c5
3 changed files with 7 additions and 0 deletions
+5
View File
@@ -113,7 +113,12 @@ void SongManager::InitSongsFromDisk( LoadingWindow *ld )
{
RageTimer tm;
LoadStepManiaSongDir( SONGS_DIR, ld );
const bool bOldVal = PREFSMAN->m_bFastLoad;
PREFSMAN->m_bFastLoad.Set( PREFSMAN->m_bFastLoadAdditionalSongs );
LoadStepManiaSongDir( ADDITIONAL_SONGS_DIR, ld );
PREFSMAN->m_bFastLoad.Set( bOldVal );
LOG->Trace( "Found %d songs in %f seconds.", (int)m_pSongs.size(), tm.GetDeltaTime() );
}