[notesloader] More virtuals.

This commit is contained in:
Jason Felds
2011-06-09 21:27:47 -04:00
parent 68fd21fdc8
commit 1e296ed0bf
11 changed files with 26 additions and 19 deletions
+2 -2
View File
@@ -236,12 +236,12 @@ bool Song::LoadFromSongDir( RString sDir )
{
// LOG->Trace( "Loading '%s' from cache file '%s'.", m_sSongDir.c_str(), GetCacheFilePath().c_str() );
SSCLoader loaderSSC;
bool bLoadedFromSSC = loaderSSC.LoadFromSSCFile( sCacheFilePath, *this, true );
bool bLoadedFromSSC = loaderSSC.LoadFromSimfile( sCacheFilePath, *this, true );
if( !bLoadedFromSSC )
{
// load from .sm
SMLoader loaderSM;
loaderSM.LoadFromSMFile( sCacheFilePath, *this, true );
loaderSM.LoadFromSimfile( sCacheFilePath, *this, true );
loaderSM.TidyUpData( *this, true );
}
}