This commit is contained in:
Chris Danford
2005-02-24 13:49:42 +00:00
parent 3dac5430c2
commit 017dd5d048
+6
View File
@@ -158,6 +158,12 @@ bool FadingBanner::LoadFromCachedBanner( const CString &path )
void FadingBanner::LoadFromSong( const Song* pSong )
{
if( pSong == NULL )
{
LoadFallback();
return;
}
/* Don't call HasBanner. That'll do disk access and cause the music wheel
* to skip. */
LoadFromCachedBanner( pSong->GetBannerPath() );