fix AV
This commit is contained in:
@@ -158,6 +158,12 @@ bool FadingBanner::LoadFromCachedBanner( const CString &path )
|
|||||||
|
|
||||||
void FadingBanner::LoadFromSong( const Song* pSong )
|
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
|
/* Don't call HasBanner. That'll do disk access and cause the music wheel
|
||||||
* to skip. */
|
* to skip. */
|
||||||
LoadFromCachedBanner( pSong->GetBannerPath() );
|
LoadFromCachedBanner( pSong->GetBannerPath() );
|
||||||
|
|||||||
Reference in New Issue
Block a user