convert more prefs to use Preference

This commit is contained in:
Chris Danford
2004-12-04 10:35:50 +00:00
parent 5b880bd707
commit 005a7f5efa
11 changed files with 117 additions and 153 deletions
+5 -1
View File
@@ -107,12 +107,16 @@ bool FadingBanner::LoadFromCachedBanner( const CString &path )
* which will cause the fade-in to be further delayed. */
RageTextureID ID;
bool bLowRes = (PREFSMAN->m_BannerCache != PrefsManager::BNCACHE_FULL);
bool bLowRes = (PREFSMAN->m_iBannerCache != PrefsManager::BNCACHE_FULL);
if( !bLowRes )
{
ID = Sprite::SongBannerTexture( path );
}
else
{
/* Try to load the low quality version. */
ID = BANNERCACHE->LoadCachedBanner( path );
}
if( !TEXTUREMAN->IsTextureRegistered(ID) )
{