trace before LoadFromSMFile instead of after
This commit is contained in:
@@ -306,9 +306,10 @@ bool Song::LoadFromSongDir( CString sDir )
|
|||||||
{
|
{
|
||||||
if( !DoesFileExist(GetCacheFilePath()) )
|
if( !DoesFileExist(GetCacheFilePath()) )
|
||||||
goto load_without_cache;
|
goto load_without_cache;
|
||||||
LoadFromSMFile( GetCacheFilePath() );
|
|
||||||
|
|
||||||
LOG->Trace( "Loading '%s' from cache file '%s'.", m_sSongDir, GetCacheFilePath() );
|
LOG->Trace( "Loading '%s' from cache file '%s'.", m_sSongDir, GetCacheFilePath() );
|
||||||
|
LoadFromSMFile( GetCacheFilePath() );
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user